Fix rustfmt in CI

Just use --check, don't call git
This commit is contained in:
Albert Armea 2026-02-08 14:12:49 -05:00
parent 3861092d3d
commit fbb01127fa

View file

@ -158,8 +158,7 @@ jobs:
- name: Check formatting - name: Check formatting
run: | run: |
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
cargo fmt --all cargo fmt --all -- --check
git diff --exit-code
shellcheck: shellcheck:
name: ShellCheck name: ShellCheck