summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2021-08-04 15:22:26 +0200
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2021-08-04 15:23:32 +0200
commit87f27d5ed6dccb1deda611fb2224768cefed0ef7 (patch)
treebb7a179cd7825b1583faabdd68f69f74fda1b6c0 /.github
parentf574e553950848456afc9aadffa8ed49cb1436fc (diff)
downloadembassy-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.yml2
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