update audit and lint
This commit is contained in:
parent
b398843b90
commit
8057ca3f75
@ -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"
|
||||
|
||||
|
||||
11
ci/lint.yml
11
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"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user