File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -23,25 +23,22 @@ jobs:
23
23
- run : cd test_suite && cargo test --features unstable -- --skip ui --exact
24
24
25
25
stable :
26
- name : Rust stable
26
+ name : Rust ${{matrix.rust}}
27
27
runs-on : ubuntu-latest
28
+ strategy :
29
+ fail-fast : false
30
+ matrix :
31
+ rust : [stable, beta]
28
32
steps :
29
33
- uses : actions/checkout@v2
30
- - uses : dtolnay/rust-toolchain@stable
34
+ - uses : dtolnay/rust-toolchain@master
35
+ with :
36
+ toolchain : ${{matrix.rust}}
31
37
- run : cd serde && cargo build --features rc
32
38
- run : cd serde && cargo build --no-default-features
33
39
- run : cd serde_test && cargo build
34
40
- run : cd serde_test && cargo test --features serde/derive,serde/rc
35
41
36
- beta :
37
- name : Rust beta
38
- runs-on : ubuntu-latest
39
- steps :
40
- - uses : actions/checkout@v2
41
- - uses : dtolnay/rust-toolchain@beta
42
- - run : cd serde && cargo build --features rc
43
- - run : cd test_suite && cargo test
44
-
45
42
nightly :
46
43
name : Rust nightly ${{matrix.os == 'windows' && '(windows)' || ''}}
47
44
runs-on : ${{matrix.os}}-latest
You can’t perform that action at this time.
0 commit comments