Skip to content

Commit f2b7dd8

Browse files
committed
ci: add semver check job and disable release-plz semver
1 parent 251ebec commit f2b7dd8

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,24 @@ jobs:
208208
- name: Run cargo-audit
209209
run: cargo audit
210210

211+
semver:
212+
name: Semver Check
213+
runs-on: ubuntu-latest
214+
steps:
215+
- uses: actions/checkout@v6
216+
217+
- name: Install Rust
218+
uses: dtolnay/rust-toolchain@stable
219+
220+
- uses: Swatinem/rust-cache@v2
221+
222+
- name: Install cargo-semver-checks
223+
run: cargo install cargo-semver-checks
224+
225+
# Run with --default-features to avoid false positives
226+
- name: Check semver (rmcp)
227+
run: cargo semver-checks --package rmcp --default-features
228+
211229
doc:
212230
name: Generate Documentation
213231
runs-on: ubuntu-latest

release-plz.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[[package]]
2+
name = "rmcp"
3+
# Non-default features can cause false-positive semver breaks.
4+
# A separate CI job handles semver checking instead.
5+
semver_check = false

0 commit comments

Comments
 (0)