From 144b55f7502fe727ba1c702b659b533883f4340a Mon Sep 17 00:00:00 2001 From: Dale Seo <5466341+DaleSeo@users.noreply.github.com> Date: Sat, 21 Mar 2026 18:58:48 -0400 Subject: [PATCH] ci: add semver check job and disable release-plz semver --- .github/workflows/ci.yml | 18 ++++++++++++++++++ release-plz.toml | 5 +++++ 2 files changed, 23 insertions(+) create mode 100644 release-plz.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79e1d4d02..83aa0202c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -208,6 +208,24 @@ jobs: - name: Run cargo-audit run: cargo audit + semver: + name: Semver Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + + - uses: Swatinem/rust-cache@v2 + + - name: Install cargo-semver-checks + run: cargo install cargo-semver-checks@0.46.0 + + # Run with --default-features to avoid false positives + - name: Check semver (rmcp) + run: cargo semver-checks --package rmcp --default-features + doc: name: Generate Documentation runs-on: ubuntu-latest diff --git a/release-plz.toml b/release-plz.toml new file mode 100644 index 000000000..e97a5fd2d --- /dev/null +++ b/release-plz.toml @@ -0,0 +1,5 @@ +[[package]] +name = "rmcp" +# Non-default features can cause false-positive semver breaks. +# A separate CI job handles semver checking instead. +semver_check = false