Skip to content

Commit 6e61de4

Browse files
ci: Replace actions-rs/toolchain with dtolnay/rust-toolchain
actions-rs/toolchain has been deprecated for a while; switch to dtolnay's rust-toolchain.
1 parent 2d439f0 commit 6e61de4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ jobs:
3434
target
3535
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3636
- name: Install latest nightly
37-
uses: actions-rs/toolchain@v1
37+
uses: dtolnay/rust-toolchain@nightly
3838
with:
3939
toolchain: nightly
40-
target: thumbv7m-none-eabi
41-
default: true
40+
targets: thumbv7m-none-eabi
4241
components: rustfmt, clippy
4342
- run: cargo install cargo-readme
4443
- run: cargo test

0 commit comments

Comments
 (0)