Ensure that the linters and builds pass before merging a PR #7

Merged
Adrien merged 18 commits from ci/add-checks-on-mr into develop 2025-05-02 07:41:58 +00:00
3 changed files with 33 additions and 20 deletions
Showing only changes of commit d5e92f282a - Show all commits

View File

@@ -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