Skip to content

Commit

Permalink
refactor check/test .yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kanarus committed Dec 25, 2023
1 parent 04324c6 commit 80aee15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: check
args: --features rt_${{ matrix.rt }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG
args: --features rt_${{ matrix.rt }}${{ matrix.x != '' && ',' }}${{ matrix.x }}${{ matrix.toolchain != '' && ',' }}${{ matrix.toolchain }},DEBUG
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
rt: ['tokio', 'async-std']
x: [',websocket', '']
x: ['websocket', '']
toolchain: ['stable', 'nightly']

steps:
Expand All @@ -27,4 +27,4 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
args: --features rt_${{ matrix.rt }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG
args: --features rt_${{ matrix.rt }}${{ matrix.x != ',' }}${{ matrix.x }}${{ matrix.toolchain != '' && ',' }}${{ matrix.toolchain }},DEBUG

0 comments on commit 80aee15

Please sign in to comment.