Skip to content

Bump actions/checkout from 6.0.1 to 7.0.1 #2952

Bump actions/checkout from 6.0.1 to 7.0.1

Bump actions/checkout from 6.0.1 to 7.0.1 #2952

Workflow file for this run

name: Documentation tests
permissions:
contents: read
on:
pull_request:
paths-ignore:
- src/**/*
- aerospike-client-c
- aerospike-stubs/**/*
- test/**/*
- 'README.rst'
- '**/*.md'
- stubtest-allowlist
# Only used by QE
- scripts/**/*
- .build.yml
push:
# To any central branch
branches:
- "dev*"
- "stage*"
- "master*"
- "v*-backport*"
# For debugging this workflow
workflow_dispatch:
jobs:
sphinx:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
builder-command:
- 'spelling . spelling -W --keep-going'
# -vv is too verbose and makes it hard to read logs
- 'linkcheck -v . links'
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: recursive
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: 3.12
architecture: 'x64'
- name: Install dependencies
# TODO: find way to split up dependencies
run: python -m pip install -r doc/requirements.txt
- name: Run builder
run: sphinx-build -b ${{ matrix.builder-command }}
working-directory: doc