From 14b918abbc70836d2f27883ea34d5a980e8290c0 Mon Sep 17 00:00:00 2001 From: Owen Leung Date: Wed, 18 Oct 2023 21:36:00 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f87f3b79..205d4862c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,12 +65,21 @@ jobs: components: rustfmt - run: cargo fmt --check + semver-checks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: obi1kenobi/cargo-semver-checks-action@v2.1 + with: + rust-toolchain: stable + feature-group: all-features + # Used to signal to branch protections that all other jobs have succeeded. all-jobs-succeed: name: All checks succeeded if: success() runs-on: ubuntu-latest - needs: [check, msrv, test, check-format, doc] + needs: [check, msrv, test, check-format, doc, semver-checks] steps: - name: Mark the job as successful run: exit 0