Skip to content

Commit c2e1340

Browse files
committed
ci: do not use --all-features
1 parent c40b8a1 commit c2e1340

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
components: "rustfmt,clippy"
2626
- name: Check code formatting
2727
run: cargo fmt --all -- --check
28-
- name: Check Clippy lints
29-
run: cargo clippy --all-targets --all-features -- -D warnings
28+
- name: Check Clippy lints (reqwest)
29+
run: cargo clippy --all-targets --no-default-features --features use-serde,derive,reqwest-client -- -D warnings
30+
- name: Check Clippy lints (surf)
31+
run: cargo clippy --all-targets --no-default-features --features use-serde,derive,hyper-client -- -D warnings
3032

3133
compile:
3234
name: Compile (${{ matrix.rust_release }}/${{ matrix.os }})
@@ -121,7 +123,7 @@ jobs:
121123
cargo tarpaulin -v \
122124
--target-dir target/tarpaulin \
123125
--workspace \
124-
--all-features \
126+
--features use-serde,derive \
125127
--exclude-files 'derive/*' \
126128
--exclude-files 'target/*' \
127129
--ignore-panics --ignore-tests \

0 commit comments

Comments
 (0)