Skip to content

Commit 1542940

Browse files
committed
Add ci to check feature powerset
1 parent feeb995 commit 1542940

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

+14
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,17 @@ jobs:
145145
with:
146146
components: clippy
147147
- run: cargo clippy --all-features -- --deny warnings
148+
149+
features:
150+
runs-on: ubuntu-latest
151+
steps:
152+
- name: Checkout sources
153+
uses: actions/checkout@v4
154+
with:
155+
persist-credentials: false
156+
- name: Install rust toolchain
157+
uses: dtolnay/rust-toolchain@stable
158+
- name: Install cargo-hack
159+
uses: taiki-e/install-action@cargo-hack
160+
- name: Check feature powerset
161+
run: cargo hack --no-dev-deps check --feature-powerset --depth 2

0 commit comments

Comments
 (0)