From 3cc1b6743c956adc59a2f65f297268e16d7471d5 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 26 Feb 2024 08:34:08 +0000 Subject: [PATCH] install rustfmt --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 73317e0..870d69d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -27,8 +27,8 @@ steps: # store cargo data in repo folder so that it gets cached between steps CARGO_HOME: .cargo_home commands: - # need make existing toolchain available - - cargo +nightly fmt -- --check + - rustup component add rustfmt + - cargo fmt --check cargo_machete: image: docker.io/rustlang/rust:nightly