Skip to content

Commit 1e0a45b

Browse files
authored
ci: Add cargo-semver-checks to catch breaking API changes (#55)
Uses the official GitHub Action to verify semver compatibility on every push and PR, comparing against the latest published crate version. Assisted-by: OpenCode (Claude Sonnet 4) Signed-off-by: Colin Walters <walters@verbum.org>
1 parent d64afce commit 1e0a45b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ env:
2121
ACTIONS_LINTS_TOOLCHAIN: 1.86.0
2222

2323
jobs:
24+
semver-checks:
25+
name: Semver Checks
26+
runs-on: ubuntu-24.04
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: obi1kenobi/cargo-semver-checks-action@v2
30+
with:
31+
# Pinned until cargo-semver-checks supports rustdoc format v57 (Rust 1.93+)
32+
rust-toolchain: "1.92.0"
33+
2434
tests-stable:
2535
name: Tests, stable toolchain
2636
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)