@@ -20,14 +20,15 @@ jobs:
2020 fail-fast : false
2121 matrix :
2222 rust : [stable, beta, nightly, 1.56.0]
23+ features : [--no-default-features, ""]
2324 timeout-minutes : 45
2425 steps :
2526 - uses : actions/checkout@v3
2627 - uses : dtolnay/rust-toolchain@master
2728 with :
2829 toolchain : ${{matrix.rust}}
29- - run : cargo build
30- - run : cargo test --features serde/derive,serde/rc
30+ - run : cargo build ${{matrix.features}}
31+ - run : cargo test ${{matrix.features}} --features serde/derive,serde/rc
3132 - uses : actions/upload-artifact@v4
3233 if : matrix.rust == 'nightly' && always()
3334 with :
@@ -38,12 +39,16 @@ jobs:
3839 minimal :
3940 name : Minimal versions
4041 runs-on : ubuntu-latest
42+ strategy :
43+ fail-fast : false
44+ matrix :
45+ features : [--no-default-features, ""]
4146 timeout-minutes : 45
4247 steps :
4348 - uses : actions/checkout@v3
4449 - uses : dtolnay/rust-toolchain@nightly
4550 - run : cargo generate-lockfile -Z minimal-versions
46- - run : cargo check --locked
51+ - run : cargo check --locked ${{matrix.features}}
4752
4853 doc :
4954 name : Documentation
@@ -61,11 +66,15 @@ jobs:
6166 name : Clippy
6267 runs-on : ubuntu-latest
6368 if : github.event_name != 'pull_request'
69+ strategy :
70+ fail-fast : false
71+ matrix :
72+ features : [--no-default-features, ""]
6473 timeout-minutes : 45
6574 steps :
6675 - uses : actions/checkout@v3
6776 - uses : dtolnay/rust-toolchain@clippy
68- - run : cargo clippy -- -Dclippy::all -Dclippy::pedantic
77+ - run : cargo clippy ${{matrix.features}} -- -Dclippy::all -Dclippy::pedantic
6978
7079 outdated :
7180 name : Outdated
0 commit comments