Detect in CI broken intra-doc links.

This commit is contained in:
Luca Palmieri 2022-01-28 10:40:40 +00:00
parent cc9ba162f7
commit ed882fadcf
1 changed files with 18 additions and 0 deletions

View File

@ -5,6 +5,24 @@ on:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
jobs: jobs:
lint-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustdoc
- name: Check for broken intra-doc links
uses: actions-rs/cargo@v1
env:
RUSTDOCFLAGS: "-D warnings"
with:
command: doc
args: --no-deps --all-features --examples --workspace
fmt: fmt:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: