CI: Check for API changes
Add a job to run the `contrib/check-for-api-changes.sh` script in CI.
This commit is contained in:
parent
53d34d5ee0
commit
c61db1b44f
|
@ -116,3 +116,18 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DO_WASM: true
|
DO_WASM: true
|
||||||
run: ./contrib/test.sh
|
run: ./contrib/test.sh
|
||||||
|
|
||||||
|
API:
|
||||||
|
name: Check for changes to the public API
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
steps:
|
||||||
|
- name: Checkout Crate
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Checkout Toolchain
|
||||||
|
uses: dtolnay/rust-toolchain@nightly
|
||||||
|
- name: Install cargo-public-api
|
||||||
|
run: cargo install --locked cargo-public-api
|
||||||
|
- name: Running API checker script
|
||||||
|
run: ./contrib/check-for-api-changes.sh
|
||||||
|
|
Loading…
Reference in New Issue