Skip to content

Commit

Permalink
use cargo-hack to check feature sets
Browse files Browse the repository at this point in the history
  • Loading branch information
grimerssy committed Aug 17, 2024
1 parent d0cb9fc commit 866ba24
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,17 @@ env:

jobs:
check:
name: check ${{ matrix.features }}
name: check
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
features: ["", "std", "zeroize", "std,zeroize"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --no-default-features -F "${{ matrix.features }}" --tests
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack
- run: cargo hack check --feature-powerset

test:
name: test ${{matrix.os}}-${{ matrix.rust }}
Expand Down

0 comments on commit 866ba24

Please sign in to comment.