Add cargo fmt --all -- --check to ci.sh

This commit is contained in:
Michael Beaumont 2021-03-18 20:59:31 +01:00
parent d3673886b3
commit 5ad259620c
No known key found for this signature in database
GPG key ID: 94C1243E6859F368
2 changed files with 3 additions and 1 deletions

View file

@ -18,7 +18,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rust-src
components: rust-src, rustfmt
override: true
- name: install
run: rustup target add thumbv7em-none-eabi thumbv6m-none-eabi

2
ci.sh
View file

@ -4,6 +4,8 @@ set -euxo pipefail
cd $(dirname $0)
cargo fmt --all -- --check
# embassy std
(cd embassy-std-examples; cargo build)