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 f1c16b2d4d2a540da2ff6bbd00f01323b820f12e..215f7ba165df7144134a2ce349545a9ebe4c5df4 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 d3170696c5fc08c67cbca61a203eced42e4eba0d..2a78d37cbbcadd1bd7afaf612be5767a09abb581 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 0000000000000000000000000000000000000000..f400973ca7fe657f39c5614a0bce573e55e7120f --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.70"