From d5e92f282a00ab2f680037cb46c09bab4148eaa4 Mon Sep 17 00:00:00 2001 From: Adrien Date: Sun, 27 Apr 2025 11:48:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20For=20now,=20Don't=20block=20PRs?= =?UTF-8?q?=20on=20clippy=20or=20cargo=20deny=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/.validate.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.woodpecker/.validate.yaml b/.woodpecker/.validate.yaml index f90e70b..09d80f3 100644 --- a/.woodpecker/.validate.yaml +++ b/.woodpecker/.validate.yaml @@ -5,20 +5,22 @@ steps: rustup component add rustfmt cargo fmt --all --check - # - name: clippy - # image: rust:latest - # commands: | - # apt update && apt install -y libgtk-3-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev - # rustup component add clippy - # cargo clippy --all --all-features -- -D warnings - # # Not ready for clippy validation - # failure: ignore + - name: clippy + image: rust:latest + commands: | + apt update && apt install -y libgtk-3-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev + rustup component add clippy + cargo clippy --all --all-features -- -D warnings + # Not ready to block PR on fail + failure: ignore - name: audit - depedencies image: rust:1.86 commands: | cargo install --locked cargo-deny cargo deny check + # Not ready to block PR on fail + failure: ignore - name: build - web (dockerize) image: woodpeckerci/plugin-kaniko @@ -30,7 +32,6 @@ steps: from_secret: registry-password dry-run: true - when: - event: pull_request # - event: push