diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-08-04 15:22:26 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-08-04 15:23:32 +0200 |
| commit | 87f27d5ed6dccb1deda611fb2224768cefed0ef7 (patch) | |
| tree | bb7a179cd7825b1583faabdd68f69f74fda1b6c0 /.github/workflows | |
| parent | f574e553950848456afc9aadffa8ed49cb1436fc (diff) | |
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/workflows')
| -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 118143daa..d11bc8d41 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml | |||
| @@ -122,7 +122,7 @@ jobs: | |||
| 122 | with: | 122 | with: |
| 123 | toolchain: stable | 123 | toolchain: stable |
| 124 | - name: Check fmt | 124 | - name: Check fmt |
| 125 | run: for i in embassy-*; do (cd $i; cargo fmt -- --check); done | 125 | run: find -name '*.rs' | xargs rustfmt --check --skip-children --unstable-features --edition 2018 |
| 126 | 126 | ||
| 127 | test: | 127 | test: |
| 128 | runs-on: ubuntu-latest | 128 | runs-on: ubuntu-latest |
