From 2f4f9006c402fc02ce3ff4fbc5299c191321d64a Mon Sep 17 00:00:00 2001 From: hnakashima Date: Tue, 11 Jun 2024 21:43:54 +0900 Subject: [PATCH] Update CI workflow to treat warnings as errors The CI workflow configuration has been changed to treat warnings as errors in order to maintain a strict coding standard. We do this by adding `-D warnings` to the `cargo clippy` command. This change will help to prevent any future code with warnings from being merged. --- .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 0dcc60d..e2c19e6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,5 +18,5 @@ jobs: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin - run: cargo fmt --all --check - run: cargo check --workspace - - run: cargo clippy --all-targets --all-features + - run: cargo clippy --all-targets --all-features -- -D warnings - run: cargo nextest run -E 'all() - package(calendar)' \ No newline at end of file