Debian Codegraph @

.github/workflows/linkcheck.yaml

raw
1 name: Documentation links
2
3 # Checking external links needs the network, so it is not part of CI: a link
4 # that is briefly unreachable would fail unrelated pull requests. Run it on a
5 # schedule instead, and let it be started by hand when needed.
6 on:
7 schedule:
8 - cron: "0 6 * * 1"
9 workflow_dispatch:
10
11 concurrency:
12 group: ${{ github.workflow }}-${{ github.ref }}
13 cancel-in-progress: true
14
15 jobs:
16 linkcheck:
17 name: Check external links
18 runs-on: ubuntu-latest
19 timeout-minutes: 20
20 steps:
21 - name: Check out code from GitHub
22 uses: actions/[email protected]
23 - name: Set up Python
24 uses: actions/[email protected]
25 with:
26 python-version: "3.13"
27 check-latest: true
28 - name: Install tox
29 run: python -m pip install -U pip tox
30 - name: Check that every external link still resolves
31 run: tox -e linkcheck