chore: Fix CI msrv workflow (#1176)
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
env:
|
|
||||||
MSRV: "1.60"
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@@ -49,22 +46,23 @@ jobs:
|
|||||||
# - uses: EmbarkStudios/cargo-deny-action@v1
|
# - uses: EmbarkStudios/cargo-deny-action@v1
|
||||||
|
|
||||||
msrv:
|
msrv:
|
||||||
name: Check MSRV (${{ env.MSRV }})
|
name: Check MSRV
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
- name: Install Rust (${{ env.MSRV }})
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: ${{ env.MSRV }}
|
toolchain: "1.60"
|
||||||
override: true
|
override: true
|
||||||
- name: Check
|
- name: Install Protoc
|
||||||
uses: actions-rs/cargo@v1
|
uses: arduino/setup-protoc@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
args: --all --all-targets --all-features
|
- name: Check
|
||||||
|
run: cargo check --all --all-targets --all-features
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|||||||
Reference in New Issue
Block a user