diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml new file mode 100644 index 0000000..9f30d14 --- /dev/null +++ b/.github/workflows/links.yml @@ -0,0 +1,21 @@ +name: Links + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + links: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Check links and anchors in README and docs (offline) + uses: lycheeverse/lychee-action@v2 + with: + args: --offline --include-fragments --no-progress README.md 'docs/**/*.md' + fail: true