-
Notifications
You must be signed in to change notification settings - Fork 12
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
adding cargo-semver-checks #72
Comments
If you might be planning to switch to GitHub-workflow-based publishing, that'd be the easiest place to add It's also possible to use it on PRs, but the workflow there isn't as smooth or ergonomic yet! In that situation, I recommend having it configured as a job that's allowed to fail without breaking CI, so that breaking changes that are merged but not yet released don't break CI. I'm happy to answer any questions and help you get started! |
I'm more than happy to move to workflow based publishing. Do you have any recommendation/example with semver-checks? |
I use GitHub workflows for publishing in almost all my repos — this setup is probably the most straightforward: https://github.com/obi1kenobi/trustfall-rustdoc-adapter/blob/83ffd07d4230dfc12ac900eae3393a1784b9ffc2/.github/workflows/ci.yml#L91-L163 The basic idea is:
To publish a new version, make a PR that bumps the version in If you wanted to extend it with extra steps, the |
@obi1kenobi 's cargo-semver-checks would likely improve our stability. let's use it! https://github.com/obi1kenobi/cargo-semver-checks
The text was updated successfully, but these errors were encountered: