From 0c8435bfa3821ca149d16811dbe09e113f2d841e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Vandecr=C3=A8me?= Date: Wed, 10 Sep 2025 20:17:58 +0200 Subject: [PATCH] Fix rustfmt check command to detect failure --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd6bc4b..a8e96a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: - name: Check formatting run: | nix develop --command cargo fmt -- --check - nix develop --command find tests -name *.rs -exec rustfmt {} --check \; + nix develop --command bash -c 'find tests -name "*.rs" -print0 | xargs -0 -n1 rustfmt --check' - name: Run clippy run: nix develop --command cargo clippy -- -D warnings