CI: Add job to check for API changes
Add a job that runs the new script to check for changes to the public APIs of `hashes` and `bitcoin`.
This commit is contained in:
parent
9e7cd97c25
commit
b222f40f99
|
@ -316,3 +316,21 @@ jobs:
|
|||
uses: model-checking/kani-github-action@v1.1
|
||||
with:
|
||||
args: "--only-codegen"
|
||||
|
||||
API:
|
||||
needs: Prepare
|
||||
name: API - nightly toolchain
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: "Checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Select toolchain"
|
||||
uses: dtolnay/rust-toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ needs.Prepare.outputs.nightly_version }}
|
||||
- name: "Install cargo-public-api"
|
||||
run: cargo install --locked cargo-public-api
|
||||
- name: "Run API checker script"
|
||||
run: ./contrib/check-for-api-changes.sh
|
||||
|
|
Loading…
Reference in New Issue