From 167a1ff3ed4a26ca71376cd8b9199b22d2865753 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sun, 2 Jan 2022 20:42:34 +0100 Subject: [PATCH] Added per-step when clause --- .woodpecker/.test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.woodpecker/.test.yml b/.woodpecker/.test.yml index 8286cef..09e71bf 100644 --- a/.woodpecker/.test.yml +++ b/.woodpecker/.test.yml @@ -1,13 +1,15 @@ +# When block for each step is temporary until top-level when is properly implemented pipeline: clippy: image: 'rust:1.57' commands: - cargo clippy -- -D clippy::all --no-deps + when: + event: pull_request tests: image: 'rust:1.57' commands: - cargo test - -when: - event: pull_request + when: + event: pull_request