Revert "fix(ci): speed up ci and fix some typos"
This reverts commit f036a98124.
This commit is contained in:
parent
f036a98124
commit
df88862eb3
1 changed files with 14 additions and 25 deletions
39
.github/workflows/rust.yml
vendored
39
.github/workflows/rust.yml
vendored
|
|
@ -19,43 +19,32 @@ jobs:
|
||||||
- name: Add WASM target
|
- name: Add WASM target
|
||||||
run: rustup target add wasm32-wasi
|
run: rustup target add wasm32-wasi
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --force cargo-make
|
||||||
with:
|
- name: Build & Test
|
||||||
command: install
|
run: cargo make
|
||||||
args: --debug cargo-make
|
|
||||||
- name: Run Tests
|
|
||||||
uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
|
|
||||||
format:
|
format:
|
||||||
name: Check Formatting
|
name: Check Formatting
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Add WASM target
|
||||||
|
run: rustup target add wasm32-wasi
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --force cargo-make
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: --debug cargo-make
|
|
||||||
- name: Check Format
|
- name: Check Format
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo make check-format
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: check-format
|
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
name: Check For Clippy Lints
|
name: Check For Clippy Lints
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Add WASM target
|
||||||
|
run: rustup target add wasm32-wasi
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo install --force cargo-make
|
||||||
with:
|
- name: Check Format
|
||||||
command: install
|
run: cargo make clippy -D clippy::all
|
||||||
args: --debug cargo-make
|
|
||||||
- name: Check Lints
|
|
||||||
uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: make
|
|
||||||
args: clippy -D clippy::all
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue