Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a CI check for the public API #494

Merged
merged 1 commit into from
Oct 9, 2023
Merged

Conversation

Enselic
Copy link
Collaborator

@Enselic Enselic commented Oct 5, 2023

In the case of #490 we probably would have thought twice before merge if we knew it changed the public API in a semver incompatible way.

Add a CI check to detect changes to the public API to avoid surprises in the future. I have followed the instructions at https://github.com/Enselic/cargo-public-api#-as-a-ci-check.

Full disclosure: I am the maintainer of the rustup-toolchain, rustdoc-json, and public-api crates we begin to dev-depend on.

@Enselic Enselic merged commit f58ab60 into trishume:master Oct 9, 2023
4 checks passed
@Enselic Enselic deleted the public-api branch October 9, 2023 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants