Skip to content

Commit

Permalink
chore: Bump msrv to 1.60 (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Dec 1, 2022
1 parent 95e8c8b commit f7499c8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
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

0 comments on commit f7499c8

Please sign in to comment.