File tree Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Original file line number Diff line number Diff line change @@ -10,35 +10,14 @@ jobs:
10
10
build :
11
11
12
12
runs-on : ubuntu-latest
13
+ strategy :
14
+ matrix :
15
+ rust : [nightly-2020-02-01, nightly-2020-02-03, nightly-2020-03-01, nightly-2020-03-02]
13
16
14
17
steps :
15
18
- uses : actions/checkout@v2
16
- - name : Use nightly-2020-02-01
17
- run : rustup default nightly-2020-02-01
18
- - name : Build
19
- run : cargo build --verbose
20
- - name : Run tests
21
- run : cargo test --verbose
22
- - name : Use nightly-2020-02-02
23
- run : rustup default nightly-2020-02-02
24
- - name : Build
25
- run : cargo build --verbose
26
- - name : Run tests
27
- run : cargo test --verbose
28
- - name : Use nightly-2020-02-03
29
- run : rustup default nightly-2020-02-03
30
- - name : Build
31
- run : cargo build --verbose
32
- - name : Run tests
33
- run : cargo test --verbose
34
- - name : Use nightly-2020-03-01
35
- run : rustup default nightly-2020-03-01
36
- - name : Build
37
- run : cargo build --verbose
38
- - name : Run tests
39
- run : cargo test --verbose
40
- - name : Use nightly-2020-03-02
41
- run : rustup default nightly-2020-03-02
19
+ - name : Use ${{ matrix.rust }}
20
+ run : rustup default ${{ matrix.rust }}
42
21
- name : Build
43
22
run : cargo build --verbose
44
23
- name : Run tests
You can’t perform that action at this time.
0 commit comments