name: Compatibility
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
semver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check semver against base branch
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
manifest-path: Cargo.toml
feature-group: all-features
baseline-rev: origin/${{ github.base_ref || 'main' }}