diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c67250..7f94b76 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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