Skip to content

Commit 570eed3

Browse files
committed
Friendship ended with linkspector. Now lychee is my new best friend
1 parent b54fe4a commit 570eed3

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

Diff for: .github/.linkspector.json

-8
This file was deleted.

Diff for: .github/workflows/ci.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,11 @@ jobs:
3232
with:
3333
args: '.'
3434
config: '.markdownlint.json'
35-
- name: Check for dead links
36-
run: |
37-
npm install -g @umbrelladocs/linkspector
38-
echo "linkspector version: $(linkspector --version)"
39-
echo "changed files: ${{ steps.changed-files.outputs.changed_files }}"
40-
cat .github/.linkspector.json | jq '.files=$ARGS.positional' --args ${{ steps.changed-files.outputs.changed_files }} > .linkspector.yml
41-
linkspector check --config .linkspector.yml
35+
- name: Check links
36+
uses: lycheeverse/[email protected]
37+
with:
38+
fail: true
39+
args: --verbose --no-progress --accept '100..=103,200..=299,300..=399' ${{ steps.changed-files.outputs.changed_files }}
4240
- name: Install Zola
4341
run: |
4442
curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz

0 commit comments

Comments
 (0)