From cac683fbe513270090f9f8db658f750924824c62 Mon Sep 17 00:00:00 2001 From: chenmch Date: Wed, 4 Mar 2026 17:39:51 +0800 Subject: [PATCH] Add clippy check for test code in CI - Add --tests flag to cargo clippy in CI to also check test code --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ec010c..794de0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: run: cargo fmt --all --check - name: Run cargo clippy - run: cargo clippy --workspace --all-features -- -D warnings + run: cargo clippy --workspace --all-features --tests -- -D warnings examples: name: Examples