summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBrooks J Rady <b.j.rady@gmail.com>2021-04-13 16:49:17 +0100
committerBrooks J Rady <b.j.rady@gmail.com>2021-04-13 16:49:17 +0100
commitdf88862eb3c4265c28af1add44509bb9a0fb3781 (patch)
tree1daf4b89be4f3818c48523279f8c3ed428767639 /.github
parentf036a981246ee84abbaf5fe6aed12f3d7c5406f3 (diff)
Revert "fix(ci): speed up ci and fix some typos"
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust.yml39
1 files changed, 14 insertions, 25 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 8451963ba..29bda75ea 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -19,43 +19,32 @@ jobs:
- name: Add WASM target
run: rustup target add wasm32-wasi
- name: Install 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
+ run: cargo install --force cargo-make
+ - name: Build & Test
+ run: cargo 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
- uses: actions-rs/cargo@v1
- with:
- command: install
- args: --debug cargo-make
+ run: cargo install --force cargo-make
- name: Check Format
- uses: actions-rs/cargo@v1
- with:
- command: make
- args: check-format
+ run: cargo make 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
- 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
+ run: cargo install --force cargo-make
+ - name: Check Format
+ run: cargo make clippy -D clippy::all