chore: Fix CI msrv workflow (#1176)

This commit is contained in:
Lucio Franco
2022-12-01 12:22:22 -05:00
committed by GitHub
parent 6cdb3d4685
commit 1efabf0003
+8 -10
View File
@@ -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 }}