From 8057ca3f75eddcb4aa1eec4321cbb12e308ab382 Mon Sep 17 00:00:00 2001 From: Mitchell Marino Date: Sun, 18 Dec 2022 20:47:40 -0600 Subject: [PATCH] update audit and lint --- ci/audit.yml | 9 ++++++--- ci/lint.yml | 11 +++++++---- 2 files changed, 13 insertions(+), 7 deletions(-) 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"