Skip to content

Commit a919b49

Browse files
committed
Check for doc failures in CI
1 parent d24a8d0 commit a919b49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
env:
88
CARGO_TERM_COLOR: always
99
RUSTFLAGS: "-Dwarnings"
10+
RUSTDOCFLAGS: "-Dwarnings"
1011

1112
jobs:
1213
build_and_test:
@@ -24,4 +25,5 @@ jobs:
2425
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
2526
- run: cargo build --verbose
2627
- run: cargo test --verbose
28+
- run: cargo doc
2729
- run: rustup component add clippy && cargo clippy --all-targets

0 commit comments

Comments
 (0)