diff --git a/ci/audit.yml b/ci/audit.yml index d6edafb..5108a08 100644 --- a/ci/audit.yml +++ b/ci/audit.yml @@ -7,8 +7,11 @@ image_resource: inputs: - name: repo -run: - path: cargo - args: ["test"] +path: sh + args: + - -exc + - | + cargo install cargo-audit + cargo audit dir: "repo" diff --git a/ci/lint.yml b/ci/lint.yml index 475b67e..6ccb9ad 100644 --- a/ci/lint.yml +++ b/ci/lint.yml @@ -2,13 +2,16 @@ platform: linux image_resource: type: registry-image - source: {repository: "docker.helium.local/rust-all"} + source: {repository: rust} inputs: - name: repo -run: - path: cargo - args: ["test"] +path: sh + args: + - -exc + - | + rustup component add clippy + cargo clippy dir: "repo"