Link Check #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Link Check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: '0 3 * * 1' | |
| workflow_dispatch: {} | |
| jobs: | |
| linkcheck: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: 3.11 | |
| - name: Install | |
| run: | | |
| uv sync --group docs | |
| - name: HTML build (internal links) | |
| run: | | |
| uv run sphinx-build -b html -W --keep-going docs/source docs/build/html | |
| - name: Linkcheck (external links) | |
| run: | | |
| uv run sphinx-build -b linkcheck docs/source docs/build/linkcheck |