From cd18dbe7812c33d99efd8fa3ade82477ff6436a6 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Wed, 10 Apr 2024 07:24:38 +0100 Subject: [PATCH] build(woodpecker): restore dropped cargo build Also merge lint and build steps --- .woodpecker/push-next.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.woodpecker/push-next.yml b/.woodpecker/push-next.yml index 066d2944..8e11c2d6 100644 --- a/.woodpecker/push-next.yml +++ b/.woodpecker/push-next.yml @@ -12,7 +12,7 @@ steps: prefix_regex: "(#|//) (TODO|FIXME): " debug: false - lint: + lint_and_build: when: - event: push branch: next @@ -20,17 +20,9 @@ steps: environment: CARGO_TERM_COLOR: always commands: - - ls -l /usr/local/cargo/bin/ - cargo fmt --all -- --check - cargo clippy -- -D warnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used - - build: - when: - - event: push - branch: next - image: git.kemitix.net/kemitix/git-next-builder:latest - environment: - CARGO_TERM_COLOR: always + - cargo build test: when: