Skip to content

Commit 997d8c5

Browse files
committed
Lint cargo doc in CI
1 parent 388a154 commit 997d8c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ jobs:
4949
uses: Swatinem/rust-cache@v2
5050
- name: "Install clippy"
5151
run: rustup component add clippy --toolchain nightly-x86_64-unknown-linux-gnu
52-
- name: "Run linting"
52+
- name: "Run code linting"
5353
run: bash contrib/lint.sh
54+
- name: "Run documentation linting"
55+
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features --document-private-items
5456

5557
Coverage:
5658
name: Code coverage

0 commit comments

Comments
 (0)