From ff8da3f26b0f13de701bb1253d2c782cd1bbfc16 Mon Sep 17 00:00:00 2001 From: flamestro Date: Fri, 6 Mar 2026 10:17:07 +0800 Subject: [PATCH] chore: ensure that no new clippy warnings are introduced via pr's --- .github/workflows/pr-checks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 8265dd1..b6a635b 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -33,6 +33,8 @@ jobs: include: - name: cargo fmt command: cargo fmt --all -- --check + - name: cargo clippy + command: cargo clippy --all-targets --all-features -- -D warnings - name: cargo test command: cargo test - name: cargo build @@ -45,7 +47,7 @@ jobs: - name: Set up Rust uses: dtolnay/rust-toolchain@stable with: - components: rustfmt + components: rustfmt, clippy - name: Cache cargo artifacts uses: Swatinem/rust-cache@v2