mirror of
https://github.com/enocom/gopher-reading-list.git
synced 2026-05-15 14:15:49 -06:00
Fix CI check to ensure 200 links
This commit is contained in:
parent
348ff82bb6
commit
6696b57f9f
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
run: npx markdown-link-check --config=.github/workflows/config.json README.md
|
||||
- name: "Check for exactly 200 links"
|
||||
run: |
|
||||
if [ $(grep "\- \[" README.md | grep -Eo "https?://[^][ ]+" | uniq | wc -l) != 200 ]; then
|
||||
if [ $(grep "\- \[" README.md | grep -Eo "https?://[^][ ]+" | sed 's/)//' | sort | uniq | wc -l) != 200 ]; then
|
||||
echo "ERROR: List is not exactly 200 entries"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue