chore: prepare release v2.0.0 (#79) #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
merge_group: | |
types: [checks_requested] | |
push: | |
branches: [master] | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
read_msrv: | |
name: Read MSRV | |
uses: actions-rust-lang/msrv/.github/workflows/[email protected] | |
rust: | |
needs: read_msrv | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- { name: Linux, runner: ubuntu-latest } | |
- { name: macOS, runner: macos-latest } | |
- { name: Windows, runner: windows-latest } | |
toolchain: | |
- { name: stable, version: stable } | |
- { name: msrv, version: "${{ needs.read_msrv.outputs.msrv }}" } | |
name: ${{ matrix.os.name }} / ${{ matrix.toolchain.name }} | |
runs-on: ${{ matrix.os.runner }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust (${{ matrix.toolchain.name }}) | |
uses: actions-rust-lang/[email protected] | |
with: | |
toolchain: ${{ matrix.toolchain.version }} | |
target: thumbv6m-none-eabi | |
- name: Install just, nextest | |
uses: taiki-e/[email protected] | |
with: | |
tool: just,nextest | |
- name: Work around MSRV issues | |
if: matrix.toolchain.name == 'msrv' | |
run: just downgrade-for-msrv | |
- name: Test | |
run: just test | |
- name: Build (no-std) | |
if: matrix.toolchain.name == 'stable' | |
run: just build-no-std |