We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d72a89 + f0ebb0e commit 143d013Copy full SHA for 143d013
.github/workflows/links-validator.yml
@@ -14,12 +14,19 @@ jobs:
14
steps:
15
- uses: actions/checkout@v3
16
17
+ - name: Restore lychee cache
18
+ uses: actions/cache@v4
19
+ with:
20
+ path: .lycheecache
21
+ key: cache-lychee-${{ github.sha }}
22
+ restore-keys: cache-lychee-
23
+
24
- name: Check links
- uses: lycheeverse/lychee-action@v2.0.2
25
+ uses: lycheeverse/lychee-action@v2.6.1
26
env:
27
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
with:
- args: --verbose --no-progress --timeout 10 --max-concurrency 2 --exclude 'twitter.com' -- './**/*.md'
29
+ args: "--verbose --no-progress --timeout 10 --max-concurrency 2 -- './**/*.md' --cache --max-cache-age 1d ."
30
output: ./lychee/out.md
31
32
- name: Get current date
0 commit comments