chore: Bump msrv to 1.60 (#1171)
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
name: CI
|
||||
|
||||
env:
|
||||
MSRV: "1.60"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -45,6 +48,24 @@ jobs:
|
||||
# - uses: actions/checkout@v1
|
||||
# - uses: EmbarkStudios/cargo-deny-action@v1
|
||||
|
||||
msrv:
|
||||
name: Check MSRV (${{ env.MSRV }})
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Install Rust (${{ env.MSRV }})
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ env.MSRV }}
|
||||
override: true
|
||||
- name: Check
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --all --all-targets --all-features
|
||||
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
|
||||
@@ -45,7 +45,7 @@ For IntelliJ IDEA users, please refer to [this](https://github.com/intellij-rust
|
||||
|
||||
### Rust Version
|
||||
|
||||
`tonic` currently works on Rust `1.56` and above as it requires support for the 2018 edition.
|
||||
`tonic` currently works on Rust `1.60` and above as it requires support for the 2018 edition.
|
||||
|
||||
```bash
|
||||
$ rustup update
|
||||
|
||||
Reference in New Issue
Block a user