Skip to content

MSRV

MSRV #113

Workflow file for this run

name: MSRV
on:
workflow_dispatch:
# Daily at midnight
schedule:
- cron: '0 0 * * *'
jobs:
msrv:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v4
- name: read msrv
id: msrv
run: |
msrv=$(grep -P "rust-version =" Cargo.toml | awk '{print $3}' | tr -d '"')
echo Found msrc: $msrv
echo "MSRV=$msrv" >> "$GITHUB_OUTPUT"
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ steps.msrv.outputs.MSRV }}
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: check
run: cargo check