install rustfmt
This commit is contained in:
parent
ede66b4d16
commit
3cc1b6743c
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ steps:
|
||||||
# store cargo data in repo folder so that it gets cached between steps
|
# store cargo data in repo folder so that it gets cached between steps
|
||||||
CARGO_HOME: .cargo_home
|
CARGO_HOME: .cargo_home
|
||||||
commands:
|
commands:
|
||||||
# need make existing toolchain available
|
- rustup component add rustfmt
|
||||||
- cargo +nightly fmt -- --check
|
- cargo fmt --check
|
||||||
|
|
||||||
cargo_machete:
|
cargo_machete:
|
||||||
image: docker.io/rustlang/rust:nightly
|
image: docker.io/rustlang/rust:nightly
|
||||||
|
|
Loading…
Reference in a new issue