ci: add cargo-semver-checks to verify API compatibility

Check for breaking changes against all features on tags and manual triggers to ensure semantic versioning compliance.
This commit is contained in:
Nils Andreas Svee committed 2026-05-10 20:56:43 +07:00
1 parent 1a314778ad
commit fc8e6d10e8
1 file changed
+27
+27
View File
@@ -0,0 +1,27 @@
name: Semver
on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
permissions:
contents: read
jobs:
semver:
name: cargo-semver-checks
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Check semver compatibility
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
feature-group: all-features