added feature matrix to workflow
This commit is contained in:
1 parent
2a046a3df0
commit
6fb2b9d4b8
1 file changed
+10
@@ -12,6 +12,10 @@ jobs:
|
||||
name: Clippy
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
feature: [default, async_tokio, async_std]
|
||||
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v3
|
||||
@@ -28,11 +32,16 @@ jobs:
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
arg: --no-default-features --features ${{ matrix.feature }}
|
||||
|
||||
tests:
|
||||
name: Tests
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
feature: [default, async_tokio, async_std]
|
||||
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v3
|
||||
@@ -49,3 +58,4 @@ jobs:
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
arg: --no-default-features --features ${{ matrix.feature }}
|
||||
Reference in new issue
Block a user