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.
This commit is contained in:
Tobin C. Harding 2024-06-21 08:35:53 +10:00
parent 9ddd7dacac
commit 7e3b2ebb74
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -317,6 +317,6 @@ jobs:
with: with:
toolchain: ${{ needs.Prepare.outputs.nightly_version }} toolchain: ${{ needs.Prepare.outputs.nightly_version }}
- name: "Install cargo-public-api" - 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" - name: "Run API checker script"
run: ./contrib/check-for-api-changes.sh run: ./contrib/check-for-api-changes.sh