File tree 1 file changed +13
-5
lines changed
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 15
15
fail-fast : false
16
16
matrix :
17
17
rust-toolchain :
18
- - nightly-2022-07-01
18
+ - nightly
19
19
python-version :
20
20
- ' 3.7'
21
21
- ' 3.8'
34
34
steps :
35
35
- uses : actions/checkout@v3
36
36
37
- - name : install rust
38
- uses : actions-rs/toolchain@v1.0.6
37
+ - name : install rust nightly
38
+ if : matrix.rust-toolchain == 'nightly'
39
+ uses : actions-rs/toolchain@v1
40
+ with :
41
+ # use the default version from rust-toolchain in case rust in pinned there
42
+ profile : minimal
43
+
44
+ - name : install rust stable
45
+ if : matrix.rust-toolchain != 'nightly'
46
+ uses : actions-rs/toolchain@v1
39
47
with :
40
48
profile : minimal
41
49
toolchain : ${{ matrix.rust-toolchain }}
97
105
- uses : actions/checkout@v3
98
106
99
107
- name : install rust
100
- uses : actions-rs/toolchain@v1.0.6
108
+ uses : actions-rs/toolchain@v1
101
109
with :
102
110
profile : minimal
103
111
override : true
@@ -140,7 +148,7 @@ jobs:
140
148
- uses : actions/checkout@v3
141
149
142
150
- name : install rust
143
- uses : actions-rs/toolchain@v1.0.6
151
+ uses : actions-rs/toolchain@v1
144
152
with :
145
153
profile : minimal
146
154
You can’t perform that action at this time.
0 commit comments