From 5d4a15654d7dca52bf854ca06c7b4bf503a0704e Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Mon, 4 Nov 2024 09:10:06 +0000 Subject: [PATCH] Bump Rust to 1.82.0 (#6692) --- .github/workflows/backend.yaml | 8 ++++---- .github/workflows/build_caches.yaml | 4 ++-- .github/workflows/candid.yaml | 2 +- .github/workflows/pre_release_tests.yaml | 2 +- Dockerfile | 2 +- rust-toolchain.toml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/backend.yaml b/.github/workflows/backend.yaml index 4bf499a5b9..eccdb29244 100644 --- a/.github/workflows/backend.yaml +++ b/.github/workflows/backend.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.81.0 + toolchain: 1.82.0 override: true - run: rustup component add rustfmt - uses: actions-rs/cargo@v1 @@ -35,7 +35,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.81.0 + toolchain: 1.82.0 override: true - run: rustup component add clippy - uses: Swatinem/rust-cache@v2 @@ -58,7 +58,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.81.0 + toolchain: 1.82.0 override: true - uses: Swatinem/rust-cache@v2 with: @@ -81,7 +81,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.81.0 + toolchain: 1.82.0 override: true - run: rustup target add wasm32-unknown-unknown - uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/build_caches.yaml b/.github/workflows/build_caches.yaml index 80ef44b7bc..a87bc100bc 100644 --- a/.github/workflows/build_caches.yaml +++ b/.github/workflows/build_caches.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.81.0 + toolchain: 1.82.0 override: true - uses: Swatinem/rust-cache@v2 with: @@ -32,7 +32,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.81.0 + toolchain: 1.82.0 override: true - run: rustup target add wasm32-unknown-unknown - uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/candid.yaml b/.github/workflows/candid.yaml index 1fa08c9a2f..12e65cc536 100644 --- a/.github/workflows/candid.yaml +++ b/.github/workflows/candid.yaml @@ -30,7 +30,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.81.0 + toolchain: 1.82.0 override: true - uses: Swatinem/rust-cache@v2 with: diff --git a/.github/workflows/pre_release_tests.yaml b/.github/workflows/pre_release_tests.yaml index 33f09a67f4..f005b35dae 100644 --- a/.github/workflows/pre_release_tests.yaml +++ b/.github/workflows/pre_release_tests.yaml @@ -27,7 +27,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.81.0 + toolchain: 1.82.0 override: true - uses: Swatinem/rust-cache@v2 with: diff --git a/Dockerfile b/Dockerfile index 6bb31b8fd0..91fd420d55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM ubuntu:22.04 AS builder SHELL ["bash", "-c"] ARG git_commit_id -ARG rust_version=1.81.0 +ARG rust_version=1.82.0 ARG canister_name ENV GIT_COMMIT_ID=$git_commit_id diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 4a5aa476c3..df1a83aace 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.81.0" +channel = "1.82.0" targets = ["wasm32-unknown-unknown"] \ No newline at end of file