Skip to content

Commit

Permalink
ci(rust.yml): add workflow testing feature permutations
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Aug 5, 2024
1 parent 2d06eef commit 96523a6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,24 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v2

check:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
RUSTFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-hack
- run: |
cargo hack check \
--feature-powerset \
--optional-deps \
--no-dev-deps \
--ignore-unknown-features \
--ignore-private \
--group-features runtime-async-std,async-io,async-std \
--group-features runtime-smol,async-io,smol

0 comments on commit 96523a6

Please sign in to comment.