Skip to content

Commit c5cc24c

Browse files
committed
add rustfmt, rustdoc and clippy to githubs workflow
1 parent 505b739 commit c5cc24c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v2
2626
- uses: dtolnay/rust-toolchain@stable
27+
- run: cargo fmt --all -- --check
2728
- run: cargo check --no-default-features
2829
- run: cargo check --no-default-features --features "use_alloc"
2930
- run: cargo test
31+
- run: RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features
32+
- run: cargo clippy --all -- -Dwarnings
3033

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

0 commit comments

Comments
 (0)