Debian Codegraph @

.github/workflows/doc-check-links.yml

raw
1 name: Doc Check Links
2
3 on:
4 schedule:
5 # At 00:00 on Sunday.
6 # https://crontab.guru
7 - cron: '0 0 * * 0'
8 workflow_dispatch:
9
10 # Set permissions at the job level.
11 permissions: {}
12
13 jobs:
14 doc-check-links:
15 if: github.repository_owner == 'pytest-dev'
16 runs-on: ubuntu-latest
17
18 steps:
19 - name: Checkout
20 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21 with:
22 fetch-depth: 0
23 persist-credentials: false
24
25 - name: Setup Python
26 uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
27 with:
28 python-version: "3.13"
29 cache: pip
30
31 - name: Install tox
32 run: |
33 python -m pip install --upgrade pip
34 pip install tox
35
36 - name: Run sphinx linkcheck via tox
37 run: tox -e docs-checklinks