From 29ec13c01f83d4d1847d744db7927356a736b290 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 11 Jan 2023 13:10:42 +0100 Subject: [PATCH] Check for breaking changes on CI --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f9300ed..0204477f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,3 +92,18 @@ jobs: - uses: Swatinem/rust-cache@v2 - uses: r7kamura/rust-problem-matchers@v1.1.0 - run: cargo clippy --all --all-targets + + semver-checks: + name: Semver Checks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: Swatinem/rust-cache@v2 + with: + shared-key: "semver-checks" + cache-targets: false + - run: cargo install cargo-semver-checks --locked + - name: Check semver (API) + run: cargo semver-checks check-release -p bootloader_api + - name: Check semver + run: cargo semver-checks check-release