ci: rustfmt check all .rs files
The old script was missing many .rs files that were not enabled due to cfg's.
This commit is contained in:
parent
f574e55395
commit
87f27d5ed6
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
@ -122,7 +122,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
- name: Check fmt
|
- name: Check fmt
|
||||||
run: for i in embassy-*; do (cd $i; cargo fmt -- --check); done
|
run: find -name '*.rs' | xargs rustfmt --check --skip-children --unstable-features --edition 2018
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user