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}