@@ -36,11 +36,10 @@ jobs:
36
36
target : " thumbv6m-none-eabi"
37
37
steps :
38
38
- uses : actions/checkout@v3
39
- - uses : actions-rs/ toolchain@v1.0.7
39
+ - uses : dtolnay/rust- toolchain@master
40
40
with :
41
41
toolchain : ${{ matrix.toolchain }}
42
42
target : ${{ matrix.target }}
43
- default : true
44
43
45
44
- name : Build HAL
46
45
run : |
77
76
DEFMT_LOG : " debug"
78
77
steps :
79
78
- uses : actions/checkout@v3
80
- - uses : actions-rs/ toolchain@v1.0.7
79
+ - uses : dtolnay/rust- toolchain@stable
81
80
with :
82
- toolchain : stable
83
81
target : thumbv7em-none-eabi
84
82
- run : |
85
83
cargo test -p testsuite --target thumbv7em-none-eabi --bins --locked --no-run
@@ -136,9 +134,7 @@ jobs:
136
134
- " stm32wle5"
137
135
steps :
138
136
- uses : actions/checkout@v3
139
- -
uses :
actions-rs/[email protected]
140
- with :
141
- toolchain : stable
137
+ - uses : dtolnay/rust-toolchain@stable
142
138
143
139
- name : Test HAL
144
140
run : cargo test --features ${{ matrix.mcu }},embedded-time,chrono
@@ -157,9 +153,8 @@ jobs:
157
153
runs-on : ubuntu-latest
158
154
steps :
159
155
- uses : actions/checkout@v3
160
- - uses : actions-rs/ toolchain@v1.0.7
156
+ - uses : dtolnay/rust- toolchain@stable
161
157
with :
162
- toolchain : stable
163
158
components : clippy
164
159
# not using clippy-check due to this issue:
165
160
# https://github.com/actions-rs/clippy-check/issues/2
@@ -171,9 +166,8 @@ jobs:
171
166
env : {"RUSTFLAGS": "-D warnings"}
172
167
steps :
173
168
- uses : actions/checkout@v3
174
- - uses : actions-rs/ toolchain@v1.0.7
169
+ - uses : dtolnay/rust- toolchain@nightly
175
170
with :
176
- toolchain : nightly
177
171
components : rustfmt
178
172
- run : cargo +nightly fmt -- --check
179
173
@@ -183,9 +177,7 @@ jobs:
183
177
env : {"RUSTDOCFLAGS": "-D warnings"}
184
178
steps :
185
179
- uses : actions/checkout@v3
186
- -
uses :
actions-rs/[email protected]
187
- with :
188
- toolchain : stable
180
+ - uses : dtolnay/rust-toolchain@stable
189
181
# not run in parallel to avoid hitting concurrency limit
190
182
# stm32wl5x_cm4 covered by rustdoc
191
183
- run : cargo doc --features stm32wl5x_cm0p
@@ -197,9 +189,7 @@ jobs:
197
189
env : {"RUSTDOCFLAGS": "-D warnings --cfg docsrs"}
198
190
steps :
199
191
- uses : actions/checkout@v3
200
- - uses : actions-rs/toolchain@v1
201
- with :
202
- toolchain : nightly
192
+ - uses : dtolnay/rust-toolchain@nightly
203
193
- name : rustdoc
204
194
run : |
205
195
cd hal
@@ -228,9 +218,7 @@ jobs:
228
218
runs-on : ubuntu-latest
229
219
steps :
230
220
- uses : actions/checkout@v3
231
- -
uses :
actions-rs/[email protected]
232
- with :
233
- toolchain : stable
221
+ - uses : dtolnay/rust-toolchain@stable
234
222
- name : Release stm32wlxx-hal
235
223
run : |
236
224
cd hal
0 commit comments