Skip to content

Commit 796580c

Browse files
committed
Enforce fmt and clippy in CI
1 parent 2657bde commit 796580c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ jobs:
2121
apt-get install -y python3-full python3-pip
2222
2323
- name: Install Clippy
24-
run: rustup component add clippy
24+
run: rustup component add clippy rustfmt
2525

2626
- name: Build, Lint, and Test
2727
run: |
2828
cargo build
29-
cargo clippy
29+
cargo fmt --check
30+
cargo clippy --all -- -D warnings
3031
cargo test

0 commit comments

Comments
 (0)