35
35
uses : actions/checkout@v3
36
36
37
37
- name : Install Rust
38
- uses : actions-rs/ toolchain@v1
38
+ uses : dtolnay/rust- toolchain@stable
39
39
with :
40
- profile : minimal
41
- toolchain : stable
42
- override : true
43
40
components : rustfmt
44
41
45
42
- name : cargo fmt --check
79
76
uses : actions/checkout@v3
80
77
81
78
- name : Install Rust (${{ matrix.rust }})
82
- uses : actions-rs/ toolchain@v1
79
+ uses : dtolnay/rust- toolchain@master
83
80
with :
84
- profile : minimal
85
81
toolchain : ${{ matrix.rust }}
86
- override : true
87
82
88
83
- name : Test
89
84
uses : actions-rs/cargo@v1
@@ -116,11 +111,9 @@ jobs:
116
111
uses : actions/checkout@v3
117
112
118
113
- name : Install Rust (${{ matrix.rust }})
119
- uses : actions-rs/ toolchain@v1
114
+ uses : dtolnay/rust- toolchain@master
120
115
with :
121
- profile : minimal
122
116
toolchain : ${{ matrix.rust }}
123
- override : true
124
117
125
118
- name : Check
126
119
uses : actions-rs/cargo@v1
@@ -138,12 +131,9 @@ jobs:
138
131
uses : actions/checkout@v3
139
132
140
133
- name : Install Rust
141
- uses : actions-rs/ toolchain@v1
134
+ uses : dtolnay/rust- toolchain@nightly
142
135
with :
143
- profile : minimal
144
- toolchain : nightly
145
136
components : miri
146
- override : true
147
137
148
138
- name : Test
149
139
# Can't enable tcp feature since Miri does not support the tokio runtime
@@ -158,11 +148,7 @@ jobs:
158
148
uses : actions/checkout@v3
159
149
160
150
- name : Install Rust
161
- uses : actions-rs/toolchain@v1
162
- with :
163
- profile : minimal
164
- toolchain : nightly
165
- override : true
151
+ uses : dtolnay/rust-toolchain@nightly
166
152
167
153
- name : Install cargo-hack
168
154
run : cargo install cargo-hack
@@ -179,11 +165,7 @@ jobs:
179
165
uses : actions/checkout@v3
180
166
181
167
- name : Install Rust
182
- uses : actions-rs/toolchain@v1
183
- with :
184
- profile : minimal
185
- toolchain : stable
186
- override : true
168
+ uses : dtolnay/rust-toolchain@stable
187
169
188
170
- name : Install cbindgen
189
171
uses : actions-rs/cargo@v1
@@ -218,13 +200,7 @@ jobs:
218
200
uses : actions/checkout@v3
219
201
220
202
- name : Install Rust
221
- uses : actions-rs/toolchain@v1
222
- with :
223
- profile : minimal
224
- toolchain : nightly
225
- default : true
226
- override : true
227
- components : cargo
203
+ uses : dtolnay/rust-toolchain@nightly
228
204
229
205
- name : Install cbindgen
230
206
uses : actions-rs/cargo@v1
@@ -252,11 +228,7 @@ jobs:
252
228
uses : actions/checkout@v3
253
229
254
230
- name : Install Rust
255
- uses : actions-rs/toolchain@v1
256
- with :
257
- profile : minimal
258
- toolchain : nightly
259
- override : true
231
+ uses : dtolnay/rust-toolchain@nightly
260
232
261
233
- name : cargo doc
262
234
uses : actions-rs/cargo@v1
0 commit comments