Skip to content

Commit

Permalink
ci: deny doc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed Oct 13, 2023
1 parent 417ad73 commit ccfb06f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ jobs:
name: Run Lint Checks
run: cargo clippy --tests --benches --examples --workspace --all-targets --all-features -- -D clippy::correctness -D clippy::suspicious -D clippy::complexity -D clippy::perf -D clippy::style -D clippy::pedantic

- id: docs
name: Lint Documentation
env:
RUSTDOCFLAGS: "-D warnings"
run: cargo doc --no-deps --bins --examples --workspace --all-features


unit:
name: Units
runs-on: ubuntu-latest
Expand Down Expand Up @@ -96,10 +103,6 @@ jobs:
with:
tool: cargo-llvm-cov, cargo-nextest

- id: docs
name: Build Documentation
run: cargo doc --no-deps --bins --examples --workspace --all-features

- id: test-docs
name: Run Documentation Tests
run: cargo test --doc
Expand Down

0 comments on commit ccfb06f

Please sign in to comment.