From 3ba5230e67df1154e19415dbcdd477cfb4bbee6b Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Wed, 8 May 2024 08:36:24 +0100 Subject: [PATCH] build(woodpecker): run ci on next branch only and run full build --- .woodpecker.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 0aca8df..9ae030f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,5 +1,8 @@ steps: build: + when: + - event: push + branch: next image: rust:latest pull: true commands: @@ -8,3 +11,4 @@ steps: - cargo fmt --check - cargo clippy --fix -- -Dwarnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used - cargo test + - cargo build