Skip to content

Commit 143d013

Browse files
authored
Merge pull request #284 from wmariuss/update/link-validator
Update links-validator.yml
2 parents 0d72a89 + f0ebb0e commit 143d013

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/links-validator.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,19 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616

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+
1724
- name: Check links
18-
uses: lycheeverse/lychee-action@v2.0.2
25+
uses: lycheeverse/lychee-action@v2.6.1
1926
env:
2027
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2128
with:
22-
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 ."
2330
output: ./lychee/out.md
2431

2532
- name: Get current date

0 commit comments

Comments
 (0)