Skip to content

Commit

Permalink
[IntersectMBO#4] Use xrefcheck to check links on CI
Browse files Browse the repository at this point in the history
Problem: Markdown files contain a plenty of links which
tend to get outdated occasionally. It's hard to notice
when a certain link (local or global) becomes broken.

Solution: in the past, the `xrefcheck` tool was used
to find broken links:
* IntersectMBO#3
* IntersectMBO#454

See https://github.com/serokell/xrefcheck
This PR automates `xrefcheck` running by adding it as a new
GitHub Action job.
It uses [xrefcheck-action](https://github.com/serokell/xrefcheck-action)
under the hood.
  • Loading branch information
gromakovsky committed Jan 23, 2024
1 parent 706c4b1 commit 979731c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,15 @@ jobs:

- name: Diff plans
run: GH=1 ./scripts/release/cabal-plan-diff.sh

xrefcheck:

name: Check references
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: serokell/xrefcheck-action@v1
with:
xrefcheck-version: 0.2
xrefcheck-args: --mode local-only

0 comments on commit 979731c

Please sign in to comment.