diff options
Diffstat (limited to '.github/workflows/preview.yml')
| -rw-r--r-- | .github/workflows/preview.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 1adfcc98..fabb2edc 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -13,6 +13,7 @@ permissions: env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + RUST_TOOLCHAIN_VERSION: 1.96.1 concurrency: group: preview-publish @@ -82,7 +83,10 @@ jobs: - name: Install Rust if: steps.plan.outputs.should_publish == 'true' - uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable + uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1 + with: + toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }} + components: rustfmt,clippy - name: Install Rust tools if: steps.plan.outputs.should_publish == 'true' @@ -150,8 +154,9 @@ jobs: persist-credentials: false - name: Install Rust - uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable + uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1 with: + toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }} targets: ${{ matrix.target }} - name: Install Zig |
