diff --git a/.github/workflows/_checks.yml b/.github/workflows/_checks.yml index 22c5ca05..04a0404c 100644 --- a/.github/workflows/_checks.yml +++ b/.github/workflows/_checks.yml @@ -46,3 +46,17 @@ jobs: files: ./coverage.xml flags: unittests name: codecov-${{ matrix.python-version }} + + links: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + # --offline blocks network requests and excludes every external URL, so this gate + # is deterministic: it fails only on a relative link or file path a diff broke. + - name: Check local links + uses: lycheeverse/lychee-action@v2 + with: + args: >- + --offline + --no-progress + '**/*.md'