Skip to content

Commit 22f38c5

Browse files
committed
ci: run clippy with --all-targets
This ensures clippy covers examples, and unit test code.
1 parent 071e36d commit 22f38c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
uses: dtolnay/rust-toolchain@stable
3939
with:
4040
components: clippy
41-
- run: cargo clippy --all-features
42-
- run: cargo clippy --no-default-features
41+
- run: cargo clippy --all-features --all-targets
42+
- run: cargo clippy --no-default-features --all-targets
4343

4444
rustdoc:
4545
name: Documentation

0 commit comments

Comments
 (0)