27
27
runs-on : ubuntu-latest
28
28
steps :
29
29
- uses : actions/checkout@v4
30
- - uses : actions-rs/ toolchain@v1
30
+ - uses : dtolnay/rust- toolchain@master
31
31
with :
32
- profile : minimal
33
32
toolchain : ${{ matrix.rust }}
34
- override : true
35
33
- name : Run cargo build for stable
36
34
uses : actions-rs/cargo@v1
37
35
with :
76
74
77
75
steps :
78
76
- uses : actions/checkout@v4
79
- - uses : actions-rs/ toolchain@v1
77
+ - uses : dtolnay/rust- toolchain@nightly
80
78
with :
81
- profile : minimal
82
- toolchain : nightly
83
- override : true
84
- target : x86_64-unknown-linux-musl
79
+ targets : x86_64-unknown-linux-musl
85
80
86
81
- name : " Print Rust Version"
87
82
run : |
@@ -151,13 +146,9 @@ jobs:
151
146
run : echo "$GITHUB_WORKSPACE/binaries/bin" >> $GITHUB_PATH
152
147
shell : bash
153
148
154
- - name : " Install Rustup Components"
155
- uses : actions-rs/toolchain@v1
149
+ - uses : dtolnay/rust-toolchain@nightly
156
150
with :
157
- toolchain : nightly
158
- override : true
159
- profile : minimal
160
- components : rust-src, llvm-tools-preview
151
+ components : rust-src, llvm-tools
161
152
- name : " Install cargo-xbuild"
162
153
run : cargo install cargo-xbuild --debug --root binaries
163
154
- name : " Install bootimage"
@@ -197,11 +188,8 @@ jobs:
197
188
timeout-minutes : 2
198
189
steps :
199
190
- uses : actions/checkout@v4
200
- - uses : actions-rs/ toolchain@v1
191
+ - uses : dtolnay/rust- toolchain@nightly
201
192
with :
202
- toolchain : nightly
203
- override : true
204
- profile : minimal
205
193
components : rustfmt
206
194
- uses : actions-rs/cargo@v1
207
195
with :
@@ -214,11 +202,8 @@ jobs:
214
202
timeout-minutes : 10
215
203
steps :
216
204
- uses : actions/checkout@v4
217
- - uses : actions-rs/ toolchain@v1
205
+ - uses : dtolnay/rust- toolchain@nightly
218
206
with :
219
- toolchain : nightly
220
- override : true
221
- profile : minimal
222
207
components : clippy
223
208
- uses : actions-rs/cargo@v1
224
209
with :
0 commit comments