Files
beau-gosse-du-92/.woodpecker/.validate.yaml
Adrien 4671a5ee51
All checks were successful
ci/woodpecker/pr/validate Pipeline was successful
👷 Use of the ci-lint-audit docker image
2025-05-01 22:32:17 +02:00

59 lines
1.2 KiB
YAML

variables:
- &image rg.fr-par.scw.cloud/asr-projects/beau-gosse-du-92/ci-lint-audit:latest
steps:
- name: lint - format
image: *image
pull: true
commands: |
cargo fmt --all --check
- name: lint - sort derives
image: *image
pull: true
commands: |
cargo sort-derives --check
- name: lint - clippy
image: *image
pull: true
commands: |
cargo clippy --all --all-features -- -D warnings
# Not ready to block PR on fail
failure: ignore
- name: lint - spellcheck
image: *image
pull: true
commands: |
cargo spellcheck
- name: lint - dependencies
image: *image
pull: true
commands: |
cargo udeps
- name: build - web (dockerize)
image: woodpeckerci/plugin-kaniko
settings:
registry: rg.fr-par.scw.cloud
repo: asr-projects/beau-gosse-du-92-web
username: nologin
password:
from_secret: registry-password
dry-run: true
- name: audit - dependencies
image: *image
pull: true
commands: |
cargo deny check
# Not ready to block PR on fail
failure: ignore
when:
- event: pull_request
# - event: push
# branch: ${CI_REPO_DEFAULT_BRANCH}