Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
chore(ci): cache link checker (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
castrojo authored Aug 16, 2023
1 parent cf1caab commit 7379943
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Restore lychee cache
id: restore-cache
uses: actions/cache/restore@v3
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-

- name: Link Checker
- name: Run lychee
uses: lycheeverse/[email protected]
with:
args: "--cache --max-cache-age 1d ."
fail: false

- name: Save lychee cache
uses: actions/cache/save@v3
if: always()
with:
path: .lycheecache
key: ${{ steps.restore-cache.outputs.cache-primary-key }}

0 comments on commit 7379943

Please sign in to comment.