File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 20
20
with :
21
21
components : clippy
22
22
23
- - name : Run cargo clippy
23
+ - name : Run cargo clippy (default features)
24
24
run : cargo clippy --all-targets
25
25
26
- - name : Run cargo clippy without default features
27
- run : cargo clippy --no-default-features --all-targets
28
-
29
26
fmt :
30
27
runs-on : ubuntu-latest
31
28
steps :
65
62
- name : Test default features
66
63
run : cargo test
67
64
65
+ features :
66
+ needs : [clippy, fmt]
67
+ runs-on : ubuntu-latest
68
+ steps :
69
+ - uses : actions/checkout@v4
70
+ - name : Install Rust stable
71
+ uses : dtolnay/rust-toolchain@stable
72
+ - name : Install cargo-hack
73
+ uses : taiki-e/install-action@cargo-hack
74
+ - uses : Swatinem/rust-cache@v2
75
+ - name : Check all possible feature sets
76
+ run : cargo hack check --feature-powerset --no-dev-deps
You can’t perform that action at this time.
0 commit comments