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
run: |
. "$HOME/.cargo/env"
cargo fmt --all
git diff --exit-code
cargo fmt --all -- --check
shellcheck:
name: ShellCheck