diff options
author | Brooks J Rady <b.j.rady@gmail.com> | 2021-04-13 16:44:44 +0100 |
---|---|---|
committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-04-13 16:44:44 +0100 |
commit | f036a981246ee84abbaf5fe6aed12f3d7c5406f3 (patch) | |
tree | ae21ad8c8cd01c2a028215241a282ff642106d62 /.github | |
parent | fa6c76ea2db60d0941ab2d8e00f881a4b23688c1 (diff) |
fix(ci): speed up ci and fix some typos
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/rust.yml | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 29bda75ea..8451963ba 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,32 +19,43 @@ jobs: - name: Add WASM target run: rustup target add wasm32-wasi - name: Install cargo-make - run: cargo install --force cargo-make - - name: Build & Test - run: cargo make + uses: actions-rs/cargo@v1 + with: + command: install + args: --debug cargo-make + - name: Run Tests + uses: actions-rs/cargo@v1 + with: + command: make format: name: Check Formatting runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Add WASM target - run: rustup target add wasm32-wasi - name: Install cargo-make - run: cargo install --force cargo-make + uses: actions-rs/cargo@v1 + with: + command: install + args: --debug cargo-make - name: Check Format - run: cargo make check-format + uses: actions-rs/cargo@v1 + with: + command: make + args: check-format clippy: name: Check For Clippy Lints runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Add WASM target - run: rustup target add wasm32-wasi - name: Install cargo-make - run: cargo install --force cargo-make - - name: Check Format - run: cargo make clippy -D clippy::all + uses: actions-rs/cargo@v1 + with: + command: install + args: --debug cargo-make + - name: Check Lints + uses: actions-rs/cargo@v1 + with: + command: make + args: clippy -D clippy::all |