Skip to content

Commit c61db1b

Browse files
committed
CI: Check for API changes
Add a job to run the `contrib/check-for-api-changes.sh` script in CI.
1 parent 53d34d5 commit c61db1b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/rust.yml

+15
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,18 @@ jobs:
116116
env:
117117
DO_WASM: true
118118
run: ./contrib/test.sh
119+
120+
API:
121+
name: Check for changes to the public API
122+
runs-on: ubuntu-latest
123+
strategy:
124+
fail-fast: false
125+
steps:
126+
- name: Checkout Crate
127+
uses: actions/checkout@v3
128+
- name: Checkout Toolchain
129+
uses: dtolnay/rust-toolchain@nightly
130+
- name: Install cargo-public-api
131+
run: cargo install --locked cargo-public-api
132+
- name: Running API checker script
133+
run: ./contrib/check-for-api-changes.sh

0 commit comments

Comments
 (0)