From 5c90cd8a7926f4bc0a077b14bc294c6ed0f45e87 Mon Sep 17 00:00:00 2001 From: unlsycn Date: Wed, 11 Sep 2024 01:18:14 +0000 Subject: [PATCH] [ci] run all checks while failing the job Signed-off-by: unlsycn --- .github/workflows/checkfmt.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checkfmt.yml b/.github/workflows/checkfmt.yml index 077ec5d..4fcf76b 100644 --- a/.github/workflows/checkfmt.yml +++ b/.github/workflows/checkfmt.yml @@ -30,17 +30,16 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - name: "Check Scala format" - continue-on-error: true + if: "!cancelled()" run: | nix develop -c bash -c 'mill -i gcd.checkFormat && mill -i elaborator.checkFormat' - name: "Check Rust format" - continue-on-error: true + if: "!cancelled()" run: | cd gcdemu nix develop -c cargo fmt --check cd .. - name: "Check nix format" - continue-on-error: true + if: "!cancelled()" run: | nix fmt -- --check nix flake.nix -