rustup fix
This commit is contained in:
parent
24f11fe4ee
commit
fa5af76036
@ -23,7 +23,7 @@ run:
|
||||
args:
|
||||
- -exc
|
||||
- |
|
||||
rustup default stable
|
||||
cargo install cargo-audit
|
||||
cargo audit
|
||||
dir: "repo"
|
||||
|
||||
|
||||
@ -8,7 +8,9 @@ inputs:
|
||||
- name: repo
|
||||
|
||||
run:
|
||||
path: echo
|
||||
args: ["building in docker"]
|
||||
path: sh
|
||||
args:
|
||||
- -exc
|
||||
- |
|
||||
echo building in docker
|
||||
dir: "repo"
|
||||
|
||||
|
||||
@ -17,7 +17,10 @@ inputs:
|
||||
- name: repo
|
||||
|
||||
run:
|
||||
path: cargo
|
||||
args: ["build", "--release"]
|
||||
path: sh
|
||||
args:
|
||||
- -exc
|
||||
- |
|
||||
rustup default stable
|
||||
cargo build --release
|
||||
dir: "repo"
|
||||
|
||||
|
||||
@ -20,9 +20,9 @@ inputs:
|
||||
run:
|
||||
path: sh
|
||||
args:
|
||||
- -exc
|
||||
- |
|
||||
rustup component add rustfmt
|
||||
cargo fmt -- --check
|
||||
- -exc
|
||||
- |
|
||||
rustup default stable
|
||||
rustup component add rustfmt
|
||||
cargo fmt --check
|
||||
dir: "repo"
|
||||
|
||||
|
||||
@ -8,7 +8,9 @@ inputs:
|
||||
- name: repo
|
||||
|
||||
run:
|
||||
path: echo
|
||||
args: ["deploying..."]
|
||||
path: sh
|
||||
args:
|
||||
- -exc
|
||||
- |
|
||||
echo deploying...
|
||||
dir: "repo"
|
||||
|
||||
|
||||
10
ci/lint.yml
10
ci/lint.yml
@ -20,9 +20,9 @@ inputs:
|
||||
run:
|
||||
path: sh
|
||||
args:
|
||||
- -exc
|
||||
- |
|
||||
rustup component add clippy
|
||||
cargo clippy
|
||||
- -exc
|
||||
- |
|
||||
rustup default stable
|
||||
rustup component add clippy
|
||||
cargo clippy
|
||||
dir: "repo"
|
||||
|
||||
|
||||
@ -17,7 +17,10 @@ inputs:
|
||||
- name: repo
|
||||
|
||||
run:
|
||||
path: cargo
|
||||
args: ["test"]
|
||||
path: sh
|
||||
args:
|
||||
- -exc
|
||||
- |
|
||||
rustup default stable
|
||||
cargo test
|
||||
dir: "repo"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user