File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 8484 - name : Checkout code
8585 uses : actions/checkout@v4
8686
87+ # This will restore the cache for the current commit if it exists, or the most recent lychee
88+ # cache otherwise (including those saved for the main branch). It will also save the cache at
89+ # for the current commit if none existed for it, and only if the link check succeeded. We
90+ # don't want to save a cache when the action failed, because the reason for failure might be
91+ # temporary (rate limiting, network issue, etc.), and we always want to retry those links
92+ # everytime this action is run.
93+ - name : Restore lychee cache
94+ uses : actions/cache@v4
95+ with :
96+ path : .lycheecache
97+ key : cache-lychee-${{ github.sha }}
98+ restore-keys : cache-lychee-
99+
87100 - name : Link Checker
88101 uses : lycheeverse/lychee-action@v2
89102 with :
You can’t perform that action at this time.
0 commit comments