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

The rust image ships rustup but not the rustfmt component; the fmt step failed
before compiling anything.
This commit is contained in:
cflmy committed 2026-11-20 23:51:49 +08:00
1 parent de107839b7
commit fbc59d1190
1 file changed
+1 -1
+1 -1
View File
@@ -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