From d3d622929dafe987b22f57c831f5c3dac6d02f0b Mon Sep 17 00:00:00 2001 From: jo Date: Fri, 2 Sep 2022 09:22:42 +0200 Subject: [PATCH] ci: add housekeeping lychee cache --- .github/workflows/housekeeping.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/housekeeping.yml b/.github/workflows/housekeeping.yml index e022d730c..d013dd3cb 100644 --- a/.github/workflows/housekeeping.yml +++ b/.github/workflows/housekeeping.yml @@ -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 }}