File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 26
26
components : rustfmt
27
27
override : true
28
28
- run : rustc --version
29
- - run : cargo build --release --all
29
+ - run : cargo build --release --workspace
30
+ - run : (cd core && cargo build --features=json --release --all-targets)
30
31
31
32
test :
32
33
runs-on : ubuntu-latest
48
49
override : true
49
50
- run : rustc --version
50
51
- run : cargo test --all -- --nocapture
51
- - run : (cd core && cargo test -- --nocapture)
52
- - run : (cd core && cargo test --features=json -- --nocapture)
52
+
53
+ msrv :
54
+ name : Rust ${{matrix.rust}}
55
+ runs-on : ubuntu-latest
56
+ strategy :
57
+ fail-fast : false
58
+ matrix :
59
+ rust : [1.49.0, 1.50.0]
60
+ steps :
61
+ - uses : actions/checkout@v2
62
+ with :
63
+ submodules : true
64
+ - uses : actions-rs/toolchain@v1
65
+ with :
66
+ profile : minimal
67
+ toolchain : ${{ matrix.rust }}
68
+ components : rustfmt
69
+ override : true
70
+ - run : rustc --version
71
+ - run : cargo build --release --workspace --all-features
53
72
54
73
formatting :
55
74
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments