Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump msrv to 1.60 #1171

Merged
merged 2 commits into from
Dec 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CI

env:
MSRV: "1.60"

on:
push:
branches:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down