Skip to content

Commit

Permalink
build: run lychee to check intra-repo links in action
Browse files Browse the repository at this point in the history
  • Loading branch information
reubeno committed Oct 27, 2024
1 parent 525e981 commit c9d1c45
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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

0 comments on commit c9d1c45

Please sign in to comment.