Skip to content

Commit 3bf5298

Browse files
authored
ci: extend semver check to all features except local (#832)
1 parent 88df9af commit 3bf5298

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,18 @@ jobs:
8888
--only-explicit-features \
8989
--features default
9090
91+
- name: Check rmcp (all features except local)
92+
run: |
93+
FEATURES=$(cargo metadata --no-deps --format-version 1 \
94+
| jq -r '[.packages[] | select(.name == "rmcp") | .features | keys[]
95+
| select(startswith("__") | not)
96+
| select(. != "local")] | join(",")')
97+
cargo semver-checks \
98+
--package rmcp \
99+
--baseline-rev ${{ github.event.pull_request.base.sha }} \
100+
--only-explicit-features \
101+
--features "$FEATURES"
102+
91103
spelling:
92104
name: spell check with typos
93105
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)