Skip to content

Commit 60e2d2c

Browse files
rolanddmindeng
authored andcommitted
feat: Add more checks to github workflow
Have the github workflow ensure that "cargo fmt", "cargo clippy" and "cargo doc" all stay clean too.
1 parent 23d1831 commit 60e2d2c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ jobs:
2626
run: cargo test --verbose -- --nocapture
2727
- name: Run tests for all features
2828
run: cargo test --all-features --verbose -- --nocapture
29+
- name: Check formatting
30+
run: cargo fmt --check
31+
- name: Clippy
32+
run: cargo clippy -- -D warnings
33+
- name: Build documentation
34+
run: cargo doc --all-features

0 commit comments

Comments
 (0)