From ed27b3ee39e4b5622f4629d23213482e0aeaf42c Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Tue, 14 Nov 2023 17:16:02 -0500 Subject: [PATCH] ci: run clippy with --all-targets This ensures clippy covers examples, and unit test code. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e48145b..48c03efa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,8 +38,8 @@ jobs: uses: dtolnay/rust-toolchain@stable with: components: clippy - - run: cargo clippy --all-features - - run: cargo clippy --no-default-features + - run: cargo clippy --all-features --all-targets + - run: cargo clippy --no-default-features --all-targets rustdoc: name: Documentation