From 3351fc70036b2ef75afb4ecf46caa12e38bd8005 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 26 Apr 2024 09:30:06 +0200 Subject: [PATCH] Add a semver checks CI job --- .github/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f9137f9..4d46a9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,3 +52,16 @@ jobs: components: clippy, rustfmt - run: cargo fmt --all --check - run: cargo clippy --workspace --features derive + + semver-checks: + name: Semver Checks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: Swatinem/rust-cache@v2 + with: + shared-key: "semver-checks" + cache-targets: false + - run: cargo install cargo-semver-checks --locked + - name: Check semver + run: cargo semver-checks check-release