Skip to content

Commit

Permalink
ci: add cargo-semver-checks-action
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cpu committed Sep 18, 2024
1 parent 8fcf780 commit 1ba8976
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,18 @@ jobs:
- name: Verify release artifact
run: ./ci/verify_android_release.sh

semver:
name: Check semver compatibility
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2

docs:
name: Check for documentation errors
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1ba8976

Please sign in to comment.