ci: install rustfmt alongside clippy
ci/woodpecker/push/woodpecker Pipeline failed
CI / fmt + clippy + test (Linux x86_64) (push) Canceled after 0s
CI / schema instance validation + consumers (push) Canceled after 0s
CI / runtime contract (macos-latest) (push) Canceled after 0s
CI / runtime contract (windows-latest) (push) Canceled after 0s
CI / release candidate artifact (macos-latest) (push) Canceled after 0s
CI / release candidate artifact (ubuntu-latest) (push) Canceled after 0s
ci/woodpecker/push/woodpecker Pipeline failed
CI / fmt + clippy + test (Linux x86_64) (push) Canceled after 0s
CI / schema instance validation + consumers (push) Canceled after 0s
CI / runtime contract (macos-latest) (push) Canceled after 0s
CI / runtime contract (windows-latest) (push) Canceled after 0s
CI / release candidate artifact (macos-latest) (push) Canceled after 0s
CI / release candidate artifact (ubuntu-latest) (push) Canceled after 0s
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:
|
test:
|
||||||
image: rust:1.100-bookworm
|
image: rust:1.100-bookworm
|
||||||
commands:
|
commands:
|
||||||
- rustup component add clippy
|
- rustup component add clippy rustfmt
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
- cargo clippy --workspace --all-targets -- -D warnings
|
- cargo clippy --workspace --all-targets -- -D warnings
|
||||||
- cargo test --workspace --locked
|
- cargo test --workspace --locked
|
||||||
|
|||||||
Reference in new issue
Block a user