Add cargo fmt --all -- --check to ci.sh
This commit is contained in:
parent
d3673886b3
commit
5ad259620c
2 changed files with 3 additions and 1 deletions
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -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
2
ci.sh
|
@ -4,6 +4,8 @@ set -euxo pipefail
|
|||
|
||||
cd $(dirname $0)
|
||||
|
||||
cargo fmt --all -- --check
|
||||
|
||||
# embassy std
|
||||
(cd embassy-std-examples; cargo build)
|
||||
|
||||
|
|
Loading…
Reference in a new issue