Ensure that the linters and builds pass before merging a PR #7
16
.woodpecker/.lint-audit-image.yaml
Normal file
16
.woodpecker/.lint-audit-image.yaml
Normal 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
|
10
docker/Dockerfile.ci-lint-audit
Normal file
10
docker/Dockerfile.ci-lint-audit
Normal 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
|
Reference in New Issue
Block a user