Skip to content

Commit

Permalink
using caching for stable link check results #14431
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Mar 7, 2024
1 parent 133b3cc commit d6b735e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Use lychee cache
uses: actions/cache@v4
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-

- name: Cloning repository
uses: actions/checkout@v4

- name: Lychee Link Checker
uses: lycheeverse/lychee-action@v1
with:
fail: true
args: -c docs/web/lychee.toml -n docs/web/docs/
args: -c docs/web/lychee.toml -n docs/web/docs/ --cache --max-cache-age 2d

0 comments on commit d6b735e

Please sign in to comment.