Skip to content

Commit ccfb06f

Browse files
committed
ci: deny doc warnings
1 parent 417ad73 commit ccfb06f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/testing.yaml

+7-4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ jobs:
6565
name: Run Lint Checks
6666
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
6767

68+
- id: docs
69+
name: Lint Documentation
70+
env:
71+
RUSTDOCFLAGS: "-D warnings"
72+
run: cargo doc --no-deps --bins --examples --workspace --all-features
73+
74+
6875
unit:
6976
name: Units
7077
runs-on: ubuntu-latest
@@ -96,10 +103,6 @@ jobs:
96103
with:
97104
tool: cargo-llvm-cov, cargo-nextest
98105

99-
- id: docs
100-
name: Build Documentation
101-
run: cargo doc --no-deps --bins --examples --workspace --all-features
102-
103106
- id: test-docs
104107
name: Run Documentation Tests
105108
run: cargo test --doc

0 commit comments

Comments
 (0)