Skip to content

Commit 3aa8b51

Browse files
committed
chore(ci): enforce clippy in github actions
1 parent b9a2ffc commit 3aa8b51

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
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install Rust toolchain
2424
uses: dtolnay/rust-toolchain@stable
2525
with:
26-
components: rustfmt
26+
components: rustfmt, clippy
2727

2828
- name: Cache cargo artifacts
2929
uses: Swatinem/rust-cache@v2
@@ -34,6 +34,9 @@ jobs:
3434
- name: Run tests
3535
run: cargo test --locked
3636

37+
- name: Run clippy
38+
run: cargo clippy --locked --all-targets --all-features -- -D warnings
39+
3740
- name: Check examples
3841
run: cargo check --locked --examples
3942

0 commit comments

Comments
 (0)