From fbc59d1190d669d737d59ff78498195ccc832f71 Mon Sep 17 00:00:00 2001 From: cflmy Date: Fri, 20 Nov 2026 23:51:49 +0800 Subject: [PATCH] ci: install rustfmt alongside clippy The rust image ships rustup but not the rustfmt component; the fmt step failed before compiling anything. --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 3107e5a..14c0865 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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