From cfaa71632c984da9fe373346f83103e27244c0ef Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Wed, 20 Apr 2022 23:33:44 +0400 Subject: [PATCH] Document and check the MSRV in CI --- .github/workflows/ci.yml | 4 ++++ README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 387c6070..8dc58174 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,7 @@ jobs: - stable - beta - nightly + - msrv include: - rust: stable @@ -66,6 +67,9 @@ jobs: - rust: nightly toolchain: nightly-2022-01-17 features: "--all-features" + - rust: msrv + toolchain: "1.58.0" + features: "--all-features" steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 437e2633..d93fca29 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ $ set TELOXIDE_TOKEN= $ $env:TELOXIDE_TOKEN= ``` - 4. Make sure that your Rust compiler is up to date: + 4. Make sure that your Rust compiler is up to date (teloxide currently requires rustc at least version 1.58): ```bash # If you're using stable $ rustup update stable