From 5b6febf37b659380aaef803e34f4729263a04eb3 Mon Sep 17 00:00:00 2001 From: James Peter Date: Tue, 28 Oct 2025 17:28:35 +1000 Subject: [PATCH] ci: update preview build to Rust 1.90.0 --- .github/workflows/preview-build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 378983c1c53..bcff0838380 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -62,16 +62,22 @@ jobs: - name: Install Rust toolchain shell: bash + env: + RUST_TOOLCHAIN: 1.90.0 run: | rustup set profile minimal - rustup toolchain install 1.89.0 --profile minimal --target ${{ matrix.target }} - rustup default 1.89.0 + rustup toolchain install "$RUST_TOOLCHAIN" --profile minimal + rustup default "$RUST_TOOLCHAIN" + rustup target add "${{ matrix.target }}" + if [[ "${{ matrix.target }}" == *"unknown-linux-musl"* ]]; then + rustup target add x86_64-unknown-linux-musl aarch64-unknown-linux-musl + fi - name: Rust cache (target + registries) uses: Swatinem/rust-cache@v2 with: prefix-key: v1-preview - shared-key: preview-${{ matrix.target }}-rust-1.89 + shared-key: preview-${{ matrix.target }}-rust-1.90 workspaces: | code-rs -> target codex-rs -> target