mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +01:00
Update MSRV/toolchain versions
This commit is contained in:
parent
40e9a13d22
commit
2df66b62b7
2 changed files with 7 additions and 37 deletions
42
.github/workflows/ci.yml
vendored
42
.github/workflows/ci.yml
vendored
|
@ -17,17 +17,12 @@ env:
|
||||||
CARGO_NET_RETRY: 10
|
CARGO_NET_RETRY: 10
|
||||||
RUSTUP_MAX_RETRIES: 10
|
RUSTUP_MAX_RETRIES: 10
|
||||||
|
|
||||||
rust_nightly: nightly-2022-01-17
|
rust_nightly: nightly-2022-09-23
|
||||||
# When updating this, also update:
|
# When updating this, also update:
|
||||||
# - README.md
|
# - README.md
|
||||||
# - src/lib.rs
|
# - src/lib.rs
|
||||||
# - down below in a matrix
|
# - down below in a matrix
|
||||||
rust_msrv: 1.58.0
|
rust_msrv: 1.64.0
|
||||||
# When updating this, also update:
|
|
||||||
# - down below in a matrix
|
|
||||||
#
|
|
||||||
# This is needed because some of our tests can't run on MSRV.
|
|
||||||
rust_msrv_dev: 1.59.0
|
|
||||||
|
|
||||||
CI: 1
|
CI: 1
|
||||||
|
|
||||||
|
@ -43,7 +38,6 @@ jobs:
|
||||||
- check-examples
|
- check-examples
|
||||||
- clippy
|
- clippy
|
||||||
- doc
|
- doc
|
||||||
- msrv
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: exit 0
|
- run: exit 0
|
||||||
|
@ -82,7 +76,7 @@ jobs:
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
- msrv_dev
|
- msrv
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- rust: stable
|
- rust: stable
|
||||||
|
@ -92,10 +86,10 @@ jobs:
|
||||||
toolchain: beta
|
toolchain: beta
|
||||||
features: "--features full"
|
features: "--features full"
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
toolchain: nightly-2022-01-17
|
toolchain: nightly-2022-09-23
|
||||||
features: "--all-features"
|
features: "--all-features"
|
||||||
- rust: msrv_dev
|
- rust: msrv
|
||||||
toolchain: 1.59.0
|
toolchain: 1.64.0
|
||||||
features: "--features full"
|
features: "--features full"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -194,27 +188,3 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: docs # from .cargo/config.toml
|
command: docs # from .cargo/config.toml
|
||||||
|
|
||||||
msrv:
|
|
||||||
name: minimal supported rust version
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install Rust ${{ env.rust_msrv }}
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: ${{ env.rust_msrv }}
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Cache Dependencies
|
|
||||||
uses: Swatinem/rust-cache@v1
|
|
||||||
|
|
||||||
- name: Check
|
|
||||||
uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: check
|
|
||||||
args: --verbose --features full
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "nightly-2022-01-17"
|
channel = "nightly-2022-09-23"
|
||||||
components = ["rustfmt", "clippy"]
|
components = ["rustfmt", "clippy"]
|
||||||
profile = "minimal"
|
profile = "minimal"
|
||||||
|
|
Loading…
Reference in a new issue