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
17 changed files with 419 additions and 45 deletions
Showing only changes of commit 9e7ba84576 - Show all commits

View File

@@ -0,0 +1,16 @@
steps:
dockerize:
image: woodpeckerci/plugin-kaniko
settings:
registry: rg.fr-par.scw.cloud
repo: asr-projects/beau-gosse-du-92/ci-lint-audit
dockerfile: ./docker/Dockerfile.ci-lint-audit
tags: latest
auto_tag: false
cache: false
username: nologin
password:
from_secret: registry-password
when:
- path: ./docker/Dockerfile.ci-lint-audit

View File

@@ -0,0 +1,10 @@
FROM rust:1.86
RUN apt update \
&& apt install -y --no-install-recommends git libgtk-3-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev libclang-dev hunspell \
&& apt clean
RUN rustup component add rustfmt clippy \
&& rustup default nightly
RUN cargo install --locked cargo-sort-derives cargo-spellcheck cargo-udeps cargo-deny