Skip to content

Check docs

Check docs #1683

Workflow file for this run

name: "Check docs"
on:
push:
branches: [ 4.0 ]
pull_request:
branches: [ 4.0 ]
workflow_dispatch:
schedule:
# Run every night at 3:15am PST (11:15am UTC)
- cron: '15 11 * * *'
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
CLICOLOR: 1
CLICOLOR_FORCE: 1
permissions:
contents: read
# Cancel in-progress runs of this workflow if a new run is triggered.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
# Check links in docs
check-links:
name: "Check links"
runs-on: ubuntu-24.04
steps:
- name: Checkout sources
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Check repo-local links
uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0
with:
args: ". --offline --verbose --include-verbatim --include-fragments --no-progress"
fail: true