diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index cdfe354c..17b8353e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/ci.sh b/ci.sh index d726db37..d169246b 100755 --- a/ci.sh +++ b/ci.sh @@ -4,6 +4,8 @@ set -euxo pipefail cd $(dirname $0) +cargo fmt --all -- --check + # embassy std (cd embassy-std-examples; cargo build)