We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c7ed6 commit 1cb2a32Copy full SHA for 1cb2a32
1 file changed
.github/workflows/validate-links-on-push-pr.yml
@@ -1,4 +1,4 @@
1
-name: Check links on push + PR
+name: Validate links on push + PR
2
3
on:
4
push:
@@ -19,7 +19,15 @@ jobs:
19
- name: Checkout repository
20
uses: actions/checkout@v6.0.2
21
22
- - name: Check links
+ - 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
@@ -30,3 +38,10 @@ jobs:
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
46
47
+ key: ${{ steps.restore-cache.outputs.cache-primary-key }}
0 commit comments