From 6a21c7d6c3be5cc04cdb976b545422568383edd3 Mon Sep 17 00:00:00 2001 From: qpismont Date: Fri, 31 Jul 2026 20:25:37 +0000 Subject: [PATCH] Renforce woodpecker tests --- .woodpecker/tests.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.woodpecker/tests.yml b/.woodpecker/tests.yml index acb5c7b..7d128af 100644 --- a/.woodpecker/tests.yml +++ b/.woodpecker/tests.yml @@ -3,13 +3,27 @@ when: - push steps: + - name: fmt + image: rust:1.97 + commands: + - rustup component add rustfmt + - cargo fmt --all -- --check + - name: clippy image: rust:1.97 commands: - rustup component add clippy - - cargo clippy + - cargo clippy --workspace --all-targets --all-features -- -D warnings - name: test image: rust:1.97 commands: - - cargo test + - cargo test --workspace --all-targets + + - name: container-build + image: quay.io/buildah/stable + privileged: true + volumes: + - /data/woodpecker-builds:/data + commands: + - buildah bud -f Containerfile -t herald-ci .