From 474833131e094107bbc602191a48006a14000606 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Fri, 17 Nov 2023 15:21:47 -0800 Subject: [PATCH] fix: rust build caused by 1.74.0 release (#819) --- .github/workflows/ci.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 154115a..9701a15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: 1.73.0 - name: Sccache cache uses: mozilla-actions/sccache-action@v0.0.3 diff --git a/Dockerfile b/Dockerfile index d76ecf5..1b796b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* # setup rust. -RUN curl https://sh.rustup.rs -sSf | bash -s -- -y +RUN curl https://sh.rustup.rs -sSf | bash -s -- --default-toolchain 1.73.0 -y ENV PATH="/root/.cargo/bin:${PATH}" WORKDIR /root/workspace