Skip to content

Commit 007fc76

Browse files
haixuanTaoclaude
andauthored
Add cargo-semver-checks to Rust CI workflow (#1875)
This adds semver validation to catch breaking changes before release. The check runs on Ubuntu during CI and compares against the published crate on crates.io. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent 386f3d8 commit 007fc76

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,9 @@ jobs:
102102
shell: bash
103103
working-directory: ./tokenizers
104104
run: cargo readme > must_match_readme.md && diff must_match_readme.md README.md
105+
106+
- name: Check semver
107+
if: matrix.os == 'ubuntu-latest'
108+
uses: obi1kenobi/cargo-semver-checks-action@v2
109+
with:
110+
manifest-path: ./tokenizers/Cargo.toml

0 commit comments

Comments
 (0)