Skip to content

Commit

Permalink
Skip and group features to reduce powerset size
Browse files Browse the repository at this point in the history
We run out of space on the default github action runners when we naively
run `cargo hack` powerset. Attempt to reduce the size of the powerset by
skipping the default feature, and grouping related features together.
  • Loading branch information
spencewenski committed Apr 7, 2024
1 parent fb11c2a commit cbb81a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/feature_powerset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- name: Test
run: cargo hack test --no-fail-fast --feature-powerset --workspace
run: cargo hack test --no-fail-fast --feature-powerset --skip default --group-features jwt-ietf,jwt --group-features jwt-openid,jwt --workspace
- name: Check
run: cargo hack check --feature-powerset --no-dev-deps --workspace
run: cargo hack check --feature-powerset --no-dev-deps --skip default --group-features jwt-ietf,jwt --group-features jwt-openid,jwt --workspace
- name: Clippy
run: cargo hack clippy --workspace --all-targets --feature-powerset -- -D warnings
run: cargo hack clippy --workspace --all-targets --feature-powerset --skip default --group-features jwt-ietf,jwt --group-features jwt-openid,jwt -- -D warnings

0 comments on commit cbb81a9

Please sign in to comment.