Bump lycheeverse/lychee-action from 2ac9f030ccdea0033e2510a23a67da2a2da98492 to 25a231001d1723960a301b7d4c82884dc7ef857d #6
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
name: Check links | |
on: | |
pull_request: | |
paths: | |
- "*.rs" | |
- "*.prdoc" | |
- ".github/workflows/check-links.yml" | |
- ".config/lychee.toml" | |
types: [opened, synchronize, reopened, ready_for_review] | |
merge_group: | |
permissions: | |
packages: read | |
jobs: | |
link-checker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Restore lychee cache | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 (7. Sep 2023) | |
with: | |
path: .lycheecache | |
key: cache-lychee-${{ github.sha }} | |
# This should restore from the most recent one: | |
restore-keys: cache-lychee- | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.0 (22. Sep 2023) | |
- name: Lychee link checker | |
uses: lycheeverse/lychee-action@25a231001d1723960a301b7d4c82884dc7ef857d # for v1.8.0 (15. May 2023) | |
with: | |
args: >- | |
--config .config/lychee.toml | |
--no-progress | |
'./**/*.rs' | |
'./**/*.prdoc' | |
fail: true | |
env: | |
# To bypass GitHub rate-limit: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |