Browse Source

ci: Replace actions-rs/toolchain with dtolnay/rust-toolchain

actions-rs/toolchain has been deprecated for a while; switch to
dtolnay's rust-toolchain.
Nicholas Bishop 1 month ago
parent
commit
6e61de4df8
1 changed files with 2 additions and 3 deletions
  1. 2 3
      .github/workflows/ci.yml

+ 2 - 3
.github/workflows/ci.yml

@@ -34,11 +34,10 @@ jobs:
             target
           key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
       - name: Install latest nightly
-        uses: actions-rs/toolchain@v1
+        uses: dtolnay/rust-toolchain@nightly
         with:
           toolchain: nightly
-          target: thumbv7m-none-eabi
-          default: true
+          targets: thumbv7m-none-eabi
           components: rustfmt, clippy
       - run: cargo install cargo-readme
       - run: cargo test