mirror of
https://github.com/rockerBOO/awesome-neovim
synced 2024-11-14 23:37:12 +00:00
Update link checker
Add cache
This commit is contained in:
parent
e90dfe2f96
commit
dd78c44610
1 changed files with 9 additions and 0 deletions
9
.github/workflows/links.yml
vendored
9
.github/workflows/links.yml
vendored
|
@ -12,11 +12,20 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Restore lychee cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: .lycheecache
|
||||
key: cache-lychee-${{ github.sha }}
|
||||
restore-keys: cache-lychee-
|
||||
|
||||
- name: Link checker
|
||||
id: lychee
|
||||
uses: lycheeverse/lychee-action@v1.8.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
with:
|
||||
args: "--cache --max-cache-age 1d ."
|
||||
|
||||
- name: Create issue from file
|
||||
if: env.lychee_exit_code != 0
|
||||
|
|
Loading…
Reference in a new issue