File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3+ permissions :
4+ contents : read
5+
36on :
47 pull_request :
58 push :
69 branches :
710 - master
811 schedule :
9- - cron : ' 0 2 * * * '
12+ - cron : ' 0 2 * * 0 '
1013
1114env :
12- RUSTFLAGS : -D warnings
15+ CARGO_INCREMENTAL : 0
16+ CARGO_NET_GIT_FETCH_WITH_CLI : true
17+ CARGO_NET_RETRY : 10
18+ CARGO_TERM_COLOR : always
1319 RUST_BACKTRACE : 1
20+ RUSTFLAGS : -D warnings
21+ RUSTDOCFLAGS : -D warnings
22+ RUSTUP_MAX_RETRIES : 10
23+
24+ defaults :
25+ run :
26+ shell : bash
1427
1528jobs :
1629 fmt :
@@ -34,10 +47,12 @@ jobs:
3447 - uses : actions/checkout@v4
3548 - name : Install Rust
3649 run : rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
50+ - name : Install cargo-hack
51+ uses : taiki-e/install-action@v2
52+ with :
53+ tool : cargo-hack
3754 - run : cargo build --all --all-features --all-targets
38- - name : Run cargo check (without dev-dependencies to catch missing feature flags)
39- if : startsWith(matrix.rust, 'nightly')
40- run : cargo check -Z features=dev_dep
55+ - run : cargo hack build --feature-powerset --no-dev-deps
4156 - run : cargo test
4257 if : >
4358 !contains(matrix.os, 'windows')
You can’t perform that action at this time.
0 commit comments