From 8f5a6c2edf13e74061efaf96d5f9b801a42d51a7 Mon Sep 17 00:00:00 2001 From: Mieszko Grodzicki Date: Wed, 3 May 2023 21:17:36 +0200 Subject: [PATCH 1/2] Use v2 of cargo-semver-checks-action --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43a57e33..47cefc9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,11 +106,16 @@ jobs: 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 + uses: obi1kenobi/cargo-semver-checks-action@v2 + with: + package: bootloader_api + prefix-key: api + rust-toolchain: manual - name: Check semver - run: cargo semver-checks check-release + uses: obi1kenobi/cargo-semver-checks-action@v2 + with: + rust-toolchain: manual typos: name: Check spelling From 47f5421f7a24ec5e5cdbe27e9cb086b70310324b Mon Sep 17 00:00:00 2001 From: Mieszko Grodzicki Date: Thu, 4 May 2023 00:01:00 +0200 Subject: [PATCH 2/2] Manual setting of prefix-key is no longer needed --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47cefc9e..a397f5fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,7 +110,6 @@ jobs: uses: obi1kenobi/cargo-semver-checks-action@v2 with: package: bootloader_api - prefix-key: api rust-toolchain: manual - name: Check semver uses: obi1kenobi/cargo-semver-checks-action@v2