Skip to content

Commit

Permalink
ci: add markdown link check job
Browse files Browse the repository at this point in the history
This should prevent us reintroducing broken markdown links.

It does not test "online" (external) links, only those within this repo.
Both relative and absolute links are parsed successfully if they
resolve.
  • Loading branch information
willcl-ark committed May 3, 2024
1 parent f5b6f62 commit 80d166b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,3 +308,13 @@ jobs:
BITCOINFUZZ: "${{ github.workspace}}\\src\\fuzz.exe"
shell: cmd
run: py -3 test\fuzz\test_runner.py --par %NUMBER_OF_PROCESSORS% --loglevel DEBUG %RUNNER_TEMP%\qa-assets\fuzz_seed_corpus
check-md-links:
name: "Check markdown links"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Markup Link Checker (mlc)
uses: becheran/[email protected]
with:
args: --offline --ignore-path "./doc/release-notes","./doc/README_doxygen.md","./.github","./src/crc32c","./src/crypto","./src/leveldb","./src/minisketch","./src/secp256k1" --root-dir ./ ./

0 comments on commit 80d166b

Please sign in to comment.