From 7e3b2ebb74ee37185c84d1297151717364c119b8 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 21 Jun 2024 08:35:53 +1000 Subject: [PATCH] CI: Pin cargo-public-api version So that updates don't break our CI setup used a specific version of `cargo-public-api`, this means we will have to update it manually periodically though. For now, since the latest release just broke us, use the release from a month ago. --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3e84f616a..5d0cdc1c5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -317,6 +317,6 @@ jobs: with: toolchain: ${{ needs.Prepare.outputs.nightly_version }} - name: "Install cargo-public-api" - run: cargo install --locked cargo-public-api + run: cargo install cargo-public-api@0.35.0 --locked - name: "Run API checker script" run: ./contrib/check-for-api-changes.sh