Add workflow for cargo-test

This commit is contained in:
Ajeet D'Souza
2020-10-02 00:20:52 +05:30
parent 88fc3b2cfb
commit dfcb08bad4
2 changed files with 20 additions and 2 deletions
-2
View File
@@ -2,8 +2,6 @@ name: cargo-fmt
on:
push:
paths:
- "**/*.rs"
pull_request:
jobs:
+20
View File
@@ -0,0 +1,20 @@
name: cargo-test
on:
push:
pull_request:
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features --no-fail-fast