Document and check the MSRV in CI

This commit is contained in:
Maybe Waffle 2022-04-20 23:33:44 +04:00
parent 1e969d2680
commit cfaa71632c
2 changed files with 5 additions and 1 deletions

View file

@ -55,6 +55,7 @@ jobs:
- stable - stable
- beta - beta
- nightly - nightly
- msrv
include: include:
- rust: stable - rust: stable
@ -66,6 +67,9 @@ jobs:
- rust: nightly - rust: nightly
toolchain: nightly-2022-01-17 toolchain: nightly-2022-01-17
features: "--all-features" features: "--all-features"
- rust: msrv
toolchain: "1.58.0"
features: "--all-features"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View file

@ -58,7 +58,7 @@ $ set TELOXIDE_TOKEN=<Your token here>
$ $env:TELOXIDE_TOKEN=<Your token here> $ $env:TELOXIDE_TOKEN=<Your token here>
``` ```
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 ```bash
# If you're using stable # If you're using stable
$ rustup update stable $ rustup update stable