Skip to content

chore: add semver check workflow #1

chore: add semver check workflow

chore: add semver check workflow #1

Workflow file for this run

name: semver
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
semver:
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
rust-toolchain:
- nightly
runs-on: ${{ matrix.os }}
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
- name: Setup ${{ matrix.rust-toolchain }} rust toolchain with caching
uses: brndnmtthws/rust-action@v1
with:
toolchain: ${{ matrix.rust-toolchain }}
components: rustfmt, clippy
enable-sccache: "true"
- name: check semver
uses: obi1kenobi/cargo-semver-checks-action@v2