From 8513c2eb2168a9304f1ee6e35318e9128220ea9d Mon Sep 17 00:00:00 2001 From: Mingwei Zhang Date: Sat, 24 Oct 2026 06:03:32 -0700 Subject: [PATCH] ci: lint examples and tests too `cargo clippy --all-targets` passes with all three feature sets, so the workflow can cover examples and test targets instead of only the library and binaries. The four findings that blocked this were fixed in f87c241. --- .github/workflows/rust.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 325af77..96777e8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -61,13 +61,13 @@ jobs: - uses: actions/checkout@v5 - name: Clippy with all features - run: cargo clippy --all-features -- -D warnings + run: cargo clippy --all-features --all-targets -- -D warnings - name: Clippy with no features - run: cargo clippy --no-default-features -- -D warnings + run: cargo clippy --no-default-features --all-targets -- -D warnings - name: Clippy with default features - run: cargo clippy -- -D warnings + run: cargo clippy --all-targets -- -D warnings build: name: Build