From 67564d1444d932fc1902dd44403fc38449353be4 Mon Sep 17 00:00:00 2001 From: Zixuan Chen Date: Sat, 5 Oct 2024 12:39:37 +0800 Subject: [PATCH] chore: throw error when clippy has warnings --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 04154c63..bb8c6ea4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -41,7 +41,7 @@ jobs: version: "0.2.92" - uses: Swatinem/rust-cache@v2 - name: Check - run: cargo clippy --all-features + run: cargo clippy --all-features -- -Dwarnings - name: Build run: cargo build --verbose - name: Run rust tests