Skip to content

Commit 864aee2

Browse files
committed
CI: Run check-for-api-changes
No point having the script if we don't run it.
1 parent 0bd55be commit 864aee2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/rust.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,18 @@ jobs:
102102
run: cargo install cross --locked
103103
- name: run cross test
104104
run: cross test --target s390x-unknown-linux-gnu
105+
106+
API:
107+
name: Check for changes to the public API
108+
runs-on: ubuntu-latest
109+
strategy:
110+
fail-fast: false
111+
steps:
112+
- name: Checkout Crate
113+
uses: actions/checkout@v3
114+
- name: Checkout Toolchain
115+
uses: dtolnay/rust-toolchain@nightly
116+
- name: Install cargo-public-api
117+
run: cargo install --locked cargo-public-api
118+
- name: Running API checker script
119+
run: ./contrib/check-for-api-changes.sh

0 commit comments

Comments
 (0)