mirror of
https://github.com/enocom/gopher-reading-list.git
synced 2026-05-15 14:15:49 -06:00
Improve CI build with better link checker (#260)
* Fix ci builds * Update ci.yml
This commit is contained in:
parent
6993197f96
commit
e04543dc8a
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -11,9 +11,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: oven-sh/setup-bun@v1
|
- name: Link Checker
|
||||||
- name: Check all links
|
id: lychee
|
||||||
run: bun x markdown-link-check --config=.github/workflows/config.json README.md
|
uses: lycheeverse/lychee-action@v2
|
||||||
- name: "Check for exactly 200 links"
|
- name: "Check for exactly 200 links"
|
||||||
run: |
|
run: |
|
||||||
grep "\- \[" README.md | grep -Eo "https?://[^][ ]+" | sed 's/)//' | sort > links-only.txt
|
grep "\- \[" README.md | grep -Eo "https?://[^][ ]+" | sed 's/)//' | sort > links-only.txt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue