From cfa00057ccc121790431ea3f9baef6c1f10c8f60 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Thu, 1 Feb 2024 11:57:01 +0100 Subject: [PATCH] .github: cargo clippy with --deny warnings option To make the CI correctly work when running cargo clippy, an additional option `-- --deny warnings` is needed. Without that, cargo clippy would always succeed, so CI is not able to check its result. --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 36c9e88..10bc4b5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,4 +38,4 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: --workspace + args: --workspace -- --deny warnings