Fix rustfmt in CI
Just use --check, don't call git
This commit is contained in:
parent
3861092d3d
commit
fbb01127fa
1 changed files with 1 additions and 2 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue