Skip to content

Commit 60015d7

Browse files
committed
run cargo check on all targets
To catch problems in errors, benches, and examples
1 parent 39cb206 commit 60015d7

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
components: rustfmt
3333
- name: Run tests
3434
run: |
35-
cargo check --no-default-features --features tokio
36-
cargo check --no-default-features --features tokio,sparse
37-
cargo check --no-default-features --features tokio,sparse,cache
38-
cargo check --no-default-features --features async-std
39-
cargo check --no-default-features --features async-std,sparse
40-
cargo check --no-default-features --features async-std,sparse,cache
35+
cargo check --all-targets --no-default-features --features tokio
36+
cargo check --all-targets --no-default-features --features tokio,sparse
37+
cargo check --all-targets --no-default-features --features tokio,sparse,cache
38+
cargo check --all-targets --no-default-features --features async-std
39+
cargo check --all-targets --no-default-features --features async-std,sparse
40+
cargo check --all-targets --no-default-features --features async-std,sparse,cache
4141
cargo test --no-default-features --features js_interop_tests,tokio
4242
cargo test --no-default-features --features js_interop_tests,tokio,sparse
4343
cargo test --no-default-features --features js_interop_tests,tokio,sparse,cache
@@ -57,12 +57,12 @@ jobs:
5757
components: rustfmt
5858
- name: Run tests
5959
run: |
60-
cargo check --no-default-features --features tokio
61-
cargo check --no-default-features --features tokio,sparse
62-
cargo check --no-default-features --features tokio,sparse,cache
63-
cargo check --no-default-features --features async-std
64-
cargo check --no-default-features --features async-std,sparse
65-
cargo check --no-default-features --features async-std,sparse,cache
60+
cargo check --all-targets --no-default-features --features tokio
61+
cargo check --all-targets --no-default-features --features tokio,sparse
62+
cargo check --all-targets --no-default-features --features tokio,sparse,cache
63+
cargo check --all-targets --no-default-features --features async-std
64+
cargo check --all-targets --no-default-features --features async-std,sparse
65+
cargo check --all-targets --no-default-features --features async-std,sparse,cache
6666
cargo test --no-default-features --features tokio
6767
cargo test --no-default-features --features tokio,sparse
6868
cargo test --no-default-features --features tokio,sparse,cache
@@ -82,12 +82,12 @@ jobs:
8282
components: rustfmt
8383
- name: Run tests
8484
run: |
85-
cargo check --no-default-features --features tokio
86-
cargo check --no-default-features --features tokio,sparse
87-
cargo check --no-default-features --features tokio,sparse,cache
88-
cargo check --no-default-features --features async-std
89-
cargo check --no-default-features --features async-std,sparse
90-
cargo check --no-default-features --features async-std,sparse,cache
85+
cargo check --all-targets --no-default-features --features tokio
86+
cargo check --all-targets --no-default-features --features tokio,sparse
87+
cargo check --all-targets --no-default-features --features tokio,sparse,cache
88+
cargo check --all-targets --no-default-features --features async-std
89+
cargo check --all-targets --no-default-features --features async-std,sparse
90+
cargo check --all-targets --no-default-features --features async-std,sparse,cache
9191
cargo test --no-default-features --features js_interop_tests,tokio
9292
cargo test --no-default-features --features js_interop_tests,tokio,sparse
9393
cargo test --no-default-features --features js_interop_tests,tokio,sparse,cache

0 commit comments

Comments
 (0)