Skip to content

Commit 86d5923

Browse files
committed
Add "cargo fmt" check to CI
Signed-off-by: Matt Johnston <[email protected]>
1 parent ab430b9 commit 86d5923

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/runtests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set -e
66
export CARGO_TARGET_DIR=target/ci
77

88
rustup target add thumbv7em-none-eabihf
9+
rustup component add rustfmt
910

1011
export RUSTDOCFLAGS='-D warnings'
1112
export RUSTFLAGS="-D warnings"
@@ -32,4 +33,6 @@ cargo build --features log
3233

3334
cargo doc --features mctp-estack/log
3435

36+
cargo fmt -- --check
37+
3538
echo success

0 commit comments

Comments
 (0)