Skip to content

Commit

Permalink
add rustfmt, rustdoc and clippy to githubs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hellow554 committed Jun 2, 2022
1 parent 505b739 commit c5cc24c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- run: cargo fmt --all -- --check
- run: cargo check --no-default-features
- run: cargo check --no-default-features --features "use_alloc"
- run: cargo test
- run: RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features
- run: cargo clippy --all -- -Dwarnings

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

0 comments on commit c5cc24c

Please sign in to comment.