From c1c91dc2e3133a3de774a3ee01e9047d6dee8320 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Tue, 6 Jun 2023 21:50:27 +0200 Subject: [PATCH] chore: bump MSRV to 1.70 (#2573) Add rust-toolchain.toml Release Notes: - N/A --- .github/workflows/ci.yml | 1 + Dockerfile | 2 +- rust-toolchain.toml | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1c16b2d4d..215f7ba165 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,7 @@ jobs: - name: Install Rust run: | rustup set profile minimal + rustup component add rustfmt rustup update stable - name: Checkout repo diff --git a/Dockerfile b/Dockerfile index d3170696c5..2a78d37cbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax = docker/dockerfile:1.2 -FROM rust:1.65-bullseye as builder +FROM rust:1.70-bullseye as builder WORKDIR app COPY . . diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000000..f400973ca7 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.70"