mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 16:31:11 +01:00
ci: fix UX for prettier failures (#9926)
This commit is contained in:
1 parent
d5977df452
commit
bb8f23e343
1 file changed
+3
-1
@@ -844,8 +844,10 @@ jobs:
|
||||
rustup override set ${{ env.REPO_MSRV }}
|
||||
cargo -V
|
||||
|
||||
# NOTE: Keep this above the others, because this will fail if there are _any_ changes to
|
||||
# files, even ones this step doesn't modify.
|
||||
- name: "Format `**/*.{md,js,html,yml}` files"
|
||||
run: npx --yes prettier@3.8.1 --check .
|
||||
run: "npx --yes prettier@3.8.1 --check --write . && git diff --exit-code"
|
||||
|
||||
- name: Run `cargo fmt`
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user