From 59b6d8741739f56f20cc65362ac9ac76f7b8925a Mon Sep 17 00:00:00 2001 From: Noemi <45180344+unflxw@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:08:32 +0100 Subject: [PATCH] Fail CI if code is not formatted --- .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 a667ef3..7dfadb8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,4 +24,4 @@ jobs: - run: cargo build --verbose - run: cargo test --verbose - run: cargo clippy --verbose --tests --all-targets --all-features -- -D warnings - - run: cargo fmt --verbose + - run: cargo fmt --check --verbose