Skip to content

Commit 1ba8976

Browse files
committed
ci: add cargo-semver-checks-action
We've used this with success in many other Rustls repos. It's not perfect but catches a variety of semver breaks that could be missed otherwise.
1 parent 8fcf780 commit 1ba8976

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,18 @@ jobs:
246246
- name: Verify release artifact
247247
run: ./ci/verify_android_release.sh
248248

249+
semver:
250+
name: Check semver compatibility
251+
runs-on: ubuntu-latest
252+
steps:
253+
- name: Checkout sources
254+
uses: actions/checkout@v4
255+
with:
256+
persist-credentials: false
257+
258+
- name: Check semver
259+
uses: obi1kenobi/cargo-semver-checks-action@v2
260+
249261
docs:
250262
name: Check for documentation errors
251263
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)