From 3804e441b862c6e8c76ec0354e69a55d8d40ae0e Mon Sep 17 00:00:00 2001 From: rustfuture <121799572+rustfuture@users.noreply.github.com> Date: Fri, 2 Oct 2026 16:55:12 +0300 Subject: [PATCH] Check README and docs links and anchors in CI --- .github/workflows/links.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/links.yml 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