1 parent bcc8429 commit 1983b6fCopy full SHA for 1983b6f
1 file changed
.github/workflows/ci.yml
@@ -11,11 +11,17 @@ jobs:
11
runs-on: ubuntu-latest
12
steps:
13
- uses: actions/checkout@v4
14
+ - name: Restore lychee cache
15
+ uses: actions/cache@v4
16
+ with:
17
+ path: .lycheecache
18
+ key: cache-lychee-${{ github.sha }}
19
+ restore-keys: cache-lychee-
20
- name: Link Checker
21
id: lychee
22
uses: lycheeverse/lychee-action@v2
23
with:
- args: "--exclude https://www.uber.com README.md" # Uber returns 406s otherwise
24
+ args: "--base . --cache --max-cache-age 1w . --exclude https://www.uber.com README.md" # Uber returns 406s otherwise
25
- name: "Check for exactly 200 links"
26
run: |
27
grep "\- \[" README.md | grep -Eo "https?://[^][ ]+" | sed 's/)//' | sort > links-only.txt
0 commit comments