diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2021-08-04 15:22:26 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2021-08-04 15:23:32 +0200 |
commit | 87f27d5ed6dccb1deda611fb2224768cefed0ef7 (patch) | |
tree | bb7a179cd7825b1583faabdd68f69f74fda1b6c0 /.github | |
parent | f574e553950848456afc9aadffa8ed49cb1436fc (diff) | |
download | embassy-87f27d5ed6dccb1deda611fb2224768cefed0ef7.zip |
ci: rustfmt check all .rs files
The old script was missing many .rs files that were not enabled due to cfg's.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/rust.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 118143da..d11bc8d4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -122,7 +122,7 @@ jobs: with: toolchain: stable - 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: runs-on: ubuntu-latest |