build: run lychee to check intra-repo links in action #1
Workflow file for this run
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: "Docs" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
env: | |
RUST_BACKTRACE: 1 | |
CARGO_TERM_COLOR: always | |
CLICOLOR: 1 | |
CLICOLOR_FORCE: 1 | |
jobs: | |
# Check links in docs | |
check-links: | |
name: "Check links" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Check repo-local links | |
uses: lycheeverse/lychee-action@v2 | |
with: | |
args: "--offline" | |
fail: true |