diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1007ebfc3..93179f417 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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: diff --git a/README.md b/README.md index 86fd6780c..fcc40af5f 100644 --- a/README.md +++ b/README.md @@ -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