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
|
- 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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue