File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 6363 - name : " Run lint"
6464 run : cargo +${{ steps.setup.outputs.nightly-version }} rbmt lint
6565
66+ API :
67+ name : API check
68+ runs-on : ubuntu-latest
69+ strategy :
70+ fail-fast : false
71+ steps :
72+ - uses : actions/checkout@v6
73+ - uses : rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@master
74+ id : setup
75+ - name : " Run API check"
76+ run : cargo +${{ steps.setup.outputs.nightly-version }} rbmt api
77+
6678 Docs :
6779 name : Docs - stable toolchain
6880 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ docsrs *flags:
4242@ update-lock-files : _install-rbmt
4343 rustup run {{ NIGHTLY_VERSION}} cargo rbmt lock
4444
45+ # Ensure the exposed API files in api/ are up-to-date.
46+ [group (' tools' )]
47+ check-api : _install-rbmt
48+ cargo + {{ NIGHTLY_VERSION}} rbmt api
49+
4550# Run CI tasks with rbmt.
4651[group (' ci' )]
4752@ ci task toolchain = " stable" lock = " recent": _install-rbmt
You can’t perform that action at this time.
0 commit comments