Skip to content

Conversation

@joncinque
Copy link
Contributor

Problem

It's easy to accidentally break semver.

Summary of changes

Add a step to CI to run cargo semver-checks, which will test for any breakage in any PR. We can always override it if needed and bump the version appropriately.

More info about the tool at https://github.com/obi1kenobi/cargo-semver-checks

NOTE: it's easiest to have another published version to compare against, so I also bumped spl-memo-client to 0.1.0 and published it.

For future work, we can also integrate cargo public-api https://github.com/cargo-public-api/cargo-public-api

@joncinque
Copy link
Contributor Author

@yihau I've transferred ownership of spl-memo-client to anza-team, please accept whenever you have a moment

@yihau
Copy link

yihau commented Nov 26, 2024

accepted!

@joncinque joncinque merged commit 6a21639 into solana-program:main Nov 26, 2024
12 checks passed
@joncinque joncinque deleted the semver branch November 26, 2024 18:44
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.

3 participants