ci: install rustfmt alongside clippy
CI / fmt + clippy + test (Linux x86_64) (push) Waiting to run
CI / schema instance validation + consumers (push) Waiting to run
CI / runtime contract (macos-latest) (push) Waiting to run
CI / runtime contract (windows-latest) (push) Waiting to run
ci/woodpecker/push/woodpecker Pipeline failed
CI / fmt + clippy + test (Linux x86_64) (push) Waiting to run
CI / schema instance validation + consumers (push) Waiting to run
CI / runtime contract (macos-latest) (push) Waiting to run
CI / runtime contract (windows-latest) (push) Waiting to run
ci/woodpecker/push/woodpecker Pipeline failed
The rust image ships rustup but not the rustfmt component; the fmt step failed before compiling anything.
This commit is contained in:
1 parent
de107839b7
commit
fbc59d1190
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ steps:
|
||||
test:
|
||||
image: rust:1.100-bookworm
|
||||
commands:
|
||||
- rustup component add clippy
|
||||
- rustup component add clippy rustfmt
|
||||
- cargo fmt --all -- --check
|
||||
- cargo clippy --workspace --all-targets -- -D warnings
|
||||
- cargo test --workspace --locked
|
||||
|
||||
Reference in new issue
Block a user