From b137c7b5ea551aec2a186fea51a0959461c032d9 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Thu, 9 Jul 2026 22:43:25 +0300 Subject: ci: pin rust toolchain to 1.96.1 --- .github/workflows/preview.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to '.github/workflows/preview.yml') 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 -- cgit v1.2.3