Skip to content

Resolve link checker to smoothly work with forked PRs #284

Resolve link checker to smoothly work with forked PRs

Resolve link checker to smoothly work with forked PRs #284

Workflow file for this run

name: Docs/Test Workflow
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
concurrency:
group: docs-test-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
# Restrict permissions by default
permissions:
contents: read # Required for checkout
checks: write # Required for test reporting
jobs:
docs-build:
name: Test docs build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: πŸ“₯ Checkout the repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: 🐍 Install uv and set Python
uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 # v7.2.1
with:
python-version: "3.10"
activate-environment: true
- name: πŸ—οΈ Install dependencies
run: uv pip install -r pyproject.toml --group docs
- name: πŸ§ͺ Test Docs Build
run: uv run mkdocs build --verbose