Skip to content

Prep for 0.7.3

Prep for 0.7.3 #137

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.70.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.70.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.70.0