update audit and lint

This commit is contained in:
Mitchell Marino 2022-12-18 20:47:40 -06:00
parent b398843b90
commit 8057ca3f75
2 changed files with 13 additions and 7 deletions

View File

@ -7,8 +7,11 @@ image_resource:
inputs: inputs:
- name: repo - name: repo
run: path: sh
path: cargo args:
args: ["test"] - -exc
- |
cargo install cargo-audit
cargo audit
dir: "repo" dir: "repo"

View File

@ -2,13 +2,16 @@ platform: linux
image_resource: image_resource:
type: registry-image type: registry-image
source: {repository: "docker.helium.local/rust-all"} source: {repository: rust}
inputs: inputs:
- name: repo - name: repo
run: path: sh
path: cargo args:
args: ["test"] - -exc
- |
rustup component add clippy
cargo clippy
dir: "repo" dir: "repo"