chore: Bump msrv to 1.60 (#1171)

This commit is contained in:
tottoto
2022-12-02 01:41:31 +09:00
committed by GitHub
parent 95e8c8bdbb
commit f7499c8a6a
2 changed files with 22 additions and 1 deletions
+21
View File
@@ -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:
+1 -1
View File
@@ -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