Skip to content

Commit b1177cc

Browse files
tottotodjc
authored andcommitted
Add ci to check feature powerset
1 parent ad4e03d commit b1177cc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
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)