Skip to content

Commit

Permalink
Add ci to check feature powerset
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Nov 30, 2023
1 parent feeb995 commit 1542940
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,17 @@ jobs:
with:
components: clippy
- run: cargo clippy --all-features -- --deny warnings

features:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Check feature powerset
run: cargo hack --no-dev-deps check --feature-powerset --depth 2

0 comments on commit 1542940

Please sign in to comment.