Handle file already missing #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copied from https://github.com/rerun-io/rerun_template | |
on: [push, pull_request] | |
name: Link checker | |
jobs: | |
link-checker: | |
name: Check links | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Restore link checker cache | |
uses: actions/cache@v3 | |
with: | |
path: .lycheecache | |
key: cache-lychee-${{ github.sha }} | |
restore-keys: cache-lychee- | |
# Check https://github.com/lycheeverse/lychee on how to run locally. | |
- name: Link Checker | |
id: lychee | |
uses: lycheeverse/lychee-action@v1.9.0 | |
with: | |
fail: true | |
lycheeVersion: "0.14.3" | |
# When given a directory, lychee checks only markdown, html and text files, everything else we have to glob in manually. | |
args: | | |
--base . --cache --max-cache-age 1d . "**/*.rs" "**/*.toml" "**/*.hpp" "**/*.cpp" "**/CMakeLists.txt" "**/*.py" "**/*.yml" |