ci: add housekeeping lychee cache
This commit is contained in:
parent
f048704fbb
commit
d3d622929d
|
@ -37,6 +37,12 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: .lycheecache
|
||||
key: housekeeping-find-broken-links-${{ github.sha }}
|
||||
restore-keys: housekeeping-find-broken-links-
|
||||
|
||||
- name: Check Links
|
||||
id: lychee
|
||||
uses: lycheeverse/lychee-action@v1.5.1
|
||||
|
@ -53,6 +59,8 @@ jobs:
|
|||
--exclude 'https://dir.xiph.org/cgi-bin/yp-cgi'
|
||||
--exclude 'https://radio.indymedia.org/cgi-bin/yp-cgi'
|
||||
--exclude 'https://www.ascap.com'
|
||||
--cache
|
||||
--max-cache-age 2d
|
||||
fail: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Reference in New Issue