From 154294078d37af388f8f4f2dacdd6ba951aeec1c Mon Sep 17 00:00:00 2001 From: tottoto Date: Fri, 1 Dec 2023 02:30:26 +0900 Subject: [PATCH] Add ci to check feature powerset --- .github/workflows/build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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