Skip to content

Run metadata consistency checks in CI #127

Run metadata consistency checks in CI

Run metadata consistency checks in CI #127

Workflow file for this run

name: msrv-build
on:
push:
branches: ["main"]
pull_request:
jobs:
msrv-build:
name: MSRV build
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Fetch toolchain
uses: dtolnay/rust-toolchain@v1
with:
profile: minimal
toolchain: 1.56.0
target: thumbv6m-none-eabi
- name: Use MSRV Cargo.lock
run: cp Cargo.lock.msrv Cargo.lock
- name: Build with MSRV
uses: actions-rs/cargo@v1
with:
command: build
args: --all --locked
toolchain: 1.56.0
- name: Build no-std with MSRV
uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path=num_enum/Cargo.toml --target thumbv6m-none-eabi --no-default-features --locked
toolchain: 1.56.0