Skip to content

Commit

Permalink
CI: Check for API changes
Browse files Browse the repository at this point in the history
Add a job to run the `contrib/check-for-api-changes.sh` script in CI.
  • Loading branch information
tcharding committed Mar 27, 2024
1 parent 53d34d5 commit c61db1b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,18 @@ jobs:
env:
DO_WASM: true
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

0 comments on commit c61db1b

Please sign in to comment.