Skip to content

Commit ed573de

Browse files
committed
ci: add cargo hack feature powerset daily test
This commit adds the `cargo hack` feature powerset test task we use in the Rustls daily tasks CI to the new webpki daily tasks CI. This will let us catch feature related breakages earlier while also avoiding long runtime for the normal CI processes.
1 parent 8bee97f commit ed573de

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/daily-tests.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,21 @@ jobs:
4444
run: cargo test -- --ignored
4545
env:
4646
RUST_BACKTRACE: 1
47+
48+
feature-powerset:
49+
name: Feature Powerset
50+
runs-on: ubuntu-20.04
51+
steps:
52+
- name: Checkout sources
53+
uses: actions/checkout@v4
54+
with:
55+
persist-credentials: false
56+
57+
- name: Install stable toolchain
58+
uses: dtolnay/rust-toolchain@stable
59+
60+
- name: Install cargo hack
61+
uses: taiki-e/install-action@cargo-hack
62+
63+
- name: Check feature powerset
64+
run: cargo hack check --feature-powerset --no-dev-deps

0 commit comments

Comments
 (0)