From 1ba897603508c55a7c350266238b9e9f2c7a578a Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Wed, 18 Sep 2024 11:18:41 -0400 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 627223f..e4a930e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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