Skip to content

Check API changes against SemVer rules during build#32

Merged
bertrand-lorentz merged 2 commits intodevelopfrom
feature/check-api-for-semver
Mar 26, 2024
Merged

Check API changes against SemVer rules during build#32
bertrand-lorentz merged 2 commits intodevelopfrom
feature/check-api-for-semver

Conversation

@bertrand-lorentz
Copy link
Copy Markdown
Contributor

Use japicmp to detect any changes in the public API compared to the previous release, and fail the build if the rules of semantic versioning are violated.

This is run during the "verify" phase, just before the "install" phase. It also outputs the API differences in the target/japicmp folder.

Also add a workflow to build, run unit tests and the above check for every push and PR.

Use japicmp to detect any changes in the public API compared to the
previous release, and fail the build if the rules of semantic versioning
are violated.

This is run during the "verify" phase, just before the "install" phase.
It also outputs the API differences in the target/japicmp folder.
@bertrand-lorentz bertrand-lorentz self-assigned this Mar 25, 2024
@bertrand-lorentz bertrand-lorentz merged commit 5ce335c into develop Mar 26, 2024
@bertrand-lorentz bertrand-lorentz deleted the feature/check-api-for-semver branch March 26, 2024 08:13
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.

2 participants