Skip to content

Commit

Permalink
ensure rustfmt is installed for testing services
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Caswell committed Aug 16, 2023
1 parent 8e1d971 commit 4e2e078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/scripts/services_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cd $(dirname ${BASH_SOURCE[0]})/../../
BUILD=${1:-stable}

rustup update --no-self-update ${BUILD}
rustup component add clippy --toolchain ${BUILD}
rustup component add rustfmt clippy --toolchain ${BUILD}
export RUSTFLAGS="-Dwarnings -Aunreachable-code -Aunused-assignments -Adead-code -Aclippy::new-without-default -Aclippy::unnecessary_to_owned"
cargo +${BUILD} check --manifest-path services/Cargo.toml --all
cargo +${BUILD} check --manifest-path services/Cargo.toml --examples
Expand Down

0 comments on commit 4e2e078

Please sign in to comment.