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