Improve CI build with better link checker (#260)

* Fix ci builds

* Update ci.yml
This commit is contained in:
Eno Compton 2024-11-21 20:24:59 -08:00 committed by GitHub
parent 6993197f96
commit e04543dc8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Check all links
run: bun x markdown-link-check --config=.github/workflows/config.json README.md
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
- name: "Check for exactly 200 links"
run: |
grep "\- \[" README.md | grep -Eo "https?://[^][ ]+" | sed 's/)//' | sort > links-only.txt