diff --git a/.github/workflows/unit-test-rust.yml b/.github/workflows/unit-test-rust.yml index 1e97633d8..f6279171b 100644 --- a/.github/workflows/unit-test-rust.yml +++ b/.github/workflows/unit-test-rust.yml @@ -31,7 +31,7 @@ jobs: uses: dtolnay/rust-toolchain@stable with: targets: x86_64-unknown-linux-musl,aarch64-unknown-linux-musl - toolchain: 1.77 + toolchain: 1.84.1 - name: Install protoc uses: ./.github/workflows/protoc - name: Tests diff --git a/Cargo.toml b/Cargo.toml index 19d575714..4459df623 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ resolver = "2" [workspace.package] version = "0.0.0" -rust-version = "1.77" +rust-version = "1.84.1" license = "Apache-2.0" [profile.release] diff --git a/Dockerfile b/Dockerfile index e377b5c3f..8f99ccaca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,7 +57,7 @@ ENV CARGO_HOME=/usr/local/cargo ENV RUSTUP_HOME=/usr/local/rustup # Install rustup and cargo -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.77 +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.84.1 # Add rust related environment variables RUN echo 'export PATH="/usr/local/cargo/bin:$PATH"' >> /etc/profile \