rustup fix

This commit is contained in:
Mitchell Marino 2023-01-11 23:44:03 -06:00
parent 24f11fe4ee
commit fa5af76036
7 changed files with 33 additions and 23 deletions

View File

@ -23,7 +23,7 @@ run:
args: args:
- -exc - -exc
- | - |
rustup default stable
cargo install cargo-audit cargo install cargo-audit
cargo audit cargo audit
dir: "repo" dir: "repo"

View File

@ -8,7 +8,9 @@ inputs:
- name: repo - name: repo
run: run:
path: echo path: sh
args: ["building in docker"] args:
- -exc
- |
echo building in docker
dir: "repo" dir: "repo"

View File

@ -17,7 +17,10 @@ inputs:
- name: repo - name: repo
run: run:
path: cargo path: sh
args: ["build", "--release"] args:
- -exc
- |
rustup default stable
cargo build --release
dir: "repo" dir: "repo"

View File

@ -22,7 +22,7 @@ run:
args: args:
- -exc - -exc
- | - |
rustup default stable
rustup component add rustfmt rustup component add rustfmt
cargo fmt -- --check cargo fmt --check
dir: "repo" dir: "repo"

View File

@ -8,7 +8,9 @@ inputs:
- name: repo - name: repo
run: run:
path: echo path: sh
args: ["deploying..."] args:
- -exc
- |
echo deploying...
dir: "repo" dir: "repo"

View File

@ -22,7 +22,7 @@ run:
args: args:
- -exc - -exc
- | - |
rustup default stable
rustup component add clippy rustup component add clippy
cargo clippy cargo clippy
dir: "repo" dir: "repo"

View File

@ -17,7 +17,10 @@ inputs:
- name: repo - name: repo
run: run:
path: cargo path: sh
args: ["test"] args:
- -exc
- |
rustup default stable
cargo test
dir: "repo" dir: "repo"