From fac1b388281afe775592cef8717c6fe584ec76c5 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Wed, 10 Apr 2024 07:36:54 +0100 Subject: [PATCH] build(woodpecker): restore missing cargo build command Merge build and lint steps --- .woodpecker.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 12ce43d..60f613b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -26,17 +26,7 @@ steps: prefix_regex: "(#|//) (TODO|FIXME): " debug: false - build: - when: - - event: push - branch: main - - event: tag - ref: refs/tags/v* - image: git.kemitix.net/kemitix/kxio-builder:latest - environment: - CARGO_TERM_COLOR: always - - lint: + lint_and_build: when: - event: push branch: main @@ -49,6 +39,7 @@ steps: - 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 + - cargo build test: when: