Skip to content

Commit 3b21c64

Browse files
committed
chore(ci): Avoid disk space issues from cargo-hack
1 parent 42db924 commit 3b21c64

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,12 @@ jobs:
4949
- uses: taiki-e/install-action@cargo-hack
5050
- name: Build
5151
run: cargo test --workspace --no-run
52-
- name: Test
53-
run: cargo hack test --feature-powerset --workspace
52+
- name: Default features
53+
run: cargo test --workspace
54+
- name: All features
55+
run: cargo test --workspace --all-features
56+
- name: No-default features
57+
run: cargo test --workspace --no-default-features
5458
msrv:
5559
name: "Check MSRV"
5660
runs-on: ubuntu-latest

.github/workflows/rust-next.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,12 @@ jobs:
3939
- uses: taiki-e/install-action@cargo-hack
4040
- name: Build
4141
run: cargo test --workspace --no-run
42-
- name: Test
43-
run: cargo hack test --feature-powerset --workspace
42+
- name: Default features
43+
run: cargo test --workspace
44+
- name: All features
45+
run: cargo test --workspace --all-features
46+
- name: No-default features
47+
run: cargo test --workspace --no-default-features
4448
latest:
4549
name: "Check latest dependencies"
4650
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)