Skip to content

Commit d502453

Browse files
authored
ci: Add cargo-semver-checks to catch breaking API changes (#122)
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 cf6f5f3 commit d502453

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ env:
1717
RUST_BACKTRACE: short
1818

1919
jobs:
20+
semver-checks:
21+
name: Semver Checks
22+
runs-on: ubuntu-24.04
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: obi1kenobi/cargo-semver-checks-action@v2
26+
with:
27+
# Pinned until cargo-semver-checks supports rustdoc format v57 (Rust 1.93+)
28+
rust-toolchain: "1.92.0"
29+
2030
build-test:
2131
name: Build+Test
2232
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)