Skip to content

Commit b577cf2

Browse files
committed
Replaced headache lychee w/ linkinator for too many false positives
1 parent e901df7 commit b577cf2

1 file changed

Lines changed: 3 additions & 30 deletions

File tree

.github/workflows/validate-links-on-push-pr.yml

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,8 @@ permissions:
1313
contents: read
1414

1515
jobs:
16-
lychee:
16+
linkinator:
1717
runs-on: ubuntu-24.04
1818
steps:
19-
- name: Checkout repository
20-
uses: actions/checkout@v6.0.2
21-
22-
- name: Restore lychee cache
23-
id: restore-cache
24-
uses: actions/cache/restore@v5.0.4
25-
with:
26-
path: .lycheecache
27-
key: cache-lychee-${{ github.sha }}
28-
restore-keys: cache-lychee-
29-
30-
- name: Validate links
31-
uses: lycheeverse/lychee-action@v2.8.0
32-
with:
33-
# Check all files, ignore ok/redir/blocked/rate-limited
34-
args: >-
35-
. --no-progress --include-mail
36-
--include-fragments --index-files README.md,docs/README.md --exclude "#readme" --exclude "#L\d"
37-
--accept 200..299,300..399,403,429
38-
--cache --max-cache-age 3d
39-
env:
40-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
41-
42-
- name: Save lychee cache
43-
uses: actions/cache/save@v5.0.4
44-
if: always()
45-
with:
46-
path: .lycheecache
47-
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
19+
- uses: actions/checkout@v6.0.2
20+
- uses: JustinBeckwith/linkinator-action@v2.4.02

0 commit comments

Comments
 (0)