Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Commit 333b537

Browse files
committed
Add clippy check to CI workflow
Add clippy linting step to CI with -D warnings flag
1 parent b7cd9c9 commit 333b537

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Rust
2323
uses: dtolnay/rust-toolchain@stable
2424
with:
25-
components: rustfmt
25+
components: rustfmt, clippy
2626

2727
- name: Cache cargo
2828
uses: actions/cache@v4
@@ -36,6 +36,9 @@ jobs:
3636
- name: Check formatting
3737
run: cargo fmt --all -- --check
3838

39+
- name: Run clippy
40+
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
41+
3942
- name: Build
4043
run: cargo build --verbose
4144

0 commit comments

Comments
 (0)