Skip to content

Commit 873dcf4

Browse files
committed
add rustdoc and clippy to githubs workflow
1 parent 0dd3573 commit 873dcf4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
- run: cargo check --no-default-features
2828
- run: cargo check --no-default-features --features "use_alloc"
2929
- run: cargo test
30+
- run: RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features
31+
- run: cargo clippy --all -- -Dwarnings
3032

3133
# https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149
3234
end-success:

0 commit comments

Comments
 (0)