Browse Source

ci: replace unmaintained actions-rs/toolchain@v1

Philipp Schuster 1 year ago
parent
commit
2f7e395284
1 changed files with 3 additions and 5 deletions
  1. 3 5
      .github/workflows/_build-rust.yml

+ 3 - 5
.github/workflows/_build-rust.yml

@@ -62,14 +62,12 @@ jobs:
     steps:
       - name: Check out
         uses: actions/checkout@v4
-      - name: Install Rust toolchain
-        uses: actions-rs/toolchain@v1
+      - name: Setup Rust toolchain
+        uses: dtolnay/rust-toolchain@stable
         with:
-          profile: minimal
           toolchain: ${{ inputs.rust-version }}
-          override: true
+          targets: ${{ inputs.rust-target }}
           components: clippy, rustfmt
-          target: ${{ inputs.rust-target }}
       - name: Set up cargo cache
         uses: actions/cache@v3
         continue-on-error: false