defmt icon indicating copy to clipboard operation
defmt copied to clipboard

Run `cargo-semver-checks` in CI

Open Urhengulas opened this issue 10 months ago • 0 comments

Run cargo-semver-checks in CI for every pull request. This is to ensure we do not accidentally break the API of our crates (again 😅).

When a PR does break the api it should be flagged with the "breaking change" label. If that is done, the check will be skipped. The next release after merging that PR needs to update the version accordingly.

Examples of the CI catching breakages:

  • https://github.com/knurling-rs/defmt/actions/runs/8423214408/job/23064303225
  • https://github.com/knurling-rs/defmt/actions/runs/8423250114/job/23064426046

Example of the job being skipped:

  • https://github.com/knurling-rs/defmt/actions/runs/8423156779/job/23064112383

Urhengulas avatar Mar 25 '24 15:03 Urhengulas