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:
Dario Nieuwenhuis 2021-08-04 15:22:26 +02:00
parent f574e55395
commit 87f27d5ed6

View File

@ -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