ci: add housekeeping lychee cache

This commit is contained in:
jo 2022-09-02 09:22:42 +02:00 committed by Kyle Robbertze
parent f048704fbb
commit d3d622929d
1 changed files with 8 additions and 0 deletions

View File

@ -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 }}