Skip to content

Commit 348f5e5

Browse files
committed
Fix CI check: use git diff --exit-code instead of treefmt --fail-on-change
1 parent 110c101 commit 348f5e5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
- name: Run type checker
3232
run: nix-shell --run "pyright pkgs/nixkube/src"
3333
- name: Check formatting
34-
run: nix run --file . treefmt -- --fail-on-change
34+
run: |
35+
nix run --file . treefmt
36+
git diff --exit-code
3537
build-amd64:
3638
runs-on: ubuntu-latest
3739
steps:

0 commit comments

Comments
 (0)