Ensure that the linters and builds pass before merging a PR #7
@@ -1,6 +1,6 @@
|
|||||||
steps:
|
steps:
|
||||||
- name: format
|
- name: format
|
||||||
image: rust:latest
|
image: rust:1.86
|
||||||
commands: |
|
commands: |
|
||||||
rustup component add rustfmt
|
rustup component add rustfmt
|
||||||
cargo fmt --all --check
|
cargo fmt --all --check
|
||||||
@@ -14,7 +14,7 @@ steps:
|
|||||||
# # Not ready for clippy validation
|
# # Not ready for clippy validation
|
||||||
# failure: ignore
|
# failure: ignore
|
||||||
|
|
||||||
- name: build-web (dockerize)
|
- name: build - web (dockerize)
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
settings:
|
settings:
|
||||||
registry: rg.fr-par.scw.cloud
|
registry: rg.fr-par.scw.cloud
|
||||||
@@ -24,6 +24,12 @@ steps:
|
|||||||
from_secret: registry-password
|
from_secret: registry-password
|
||||||
dry-run: true
|
dry-run: true
|
||||||
|
|
||||||
|
- name: audit - depedencies
|
||||||
|
image: rust:1.86
|
||||||
|
command: |
|
||||||
|
cargo install --locked cargo-deny
|
||||||
|
cargo deny check
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- event: pull_request
|
- event: pull_request
|
||||||
# - event: push
|
# - event: push
|
||||||
|
Reference in New Issue
Block a user