From f036a981246ee84abbaf5fe6aed12f3d7c5406f3 Mon Sep 17 00:00:00 2001 From: Brooks J Rady Date: Tue, 13 Apr 2021 16:44:44 +0100 Subject: fix(ci): speed up ci and fix some typos --- .github/workflows/rust.yml | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) (limited to '.github') 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 -- cgit v1.2.3