mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
Document and check the MSRV in CI
This commit is contained in:
parent
1e969d2680
commit
cfaa71632c
2 changed files with 5 additions and 1 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue