From 84de09b87f43034bf265fcc0b231cd16111719b7 Mon Sep 17 00:00:00 2001 From: Didier Date: Tue, 1 Aug 2023 21:28:48 +0200 Subject: [PATCH] ci: change steps --- .woodpecker.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 620c2bd..8612f8e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -12,16 +12,20 @@ when: - "manifest/**" steps: - check: # check if the code compiles + clippy: # check if the code compiles image: rust commands: - - cargo check --release --manifest-path bootpkg/Cargo.toml --all - - cargo check --release --manifest-path pkgr/Cargo.toml --all + - cargo clippy --release --no-deps --manifest-path bootpkg/Cargo.toml + - cargo clippy --release --no-deps --manifest-path pkgr/Cargo.toml + pull: true + failure: ignore build: image: rust commands: - cargo build --release --manifest-path bootpkg/Cargo.toml --all - cargo build --release --manifest-path pkgr/Cargo.toml --all + pull: true + failure: fail publish: image: woodpeckerci/plugin-gitea-release settings: @@ -32,5 +36,6 @@ steps: api_key: from_secret: gitea_access_token target: main + failure: ignore when: event: tag \ No newline at end of file