Skip to content

Conversation

@tnull
Copy link
Collaborator

@tnull tnull commented Oct 30, 2025

We add cargo-semver-checks to our CI which should allow us to detect if we make breaking changes that would violate SemVer.

We add `cargo-semver-checks` to our CI which should allow us to detect if
we make breaking changes that would violate SemVer.
@tnull tnull requested a review from elsirion October 30, 2025 12:21
Comment on lines +10 to +15
- name: Install Rust stable toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain stable
rustup override set stable
- name: Check SemVer
uses: obi1kenobi/cargo-semver-checks-action@v2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems the check automatically installs rust and if you want to bring your own you have to specify that, i.e.:

      - name: Check SemVer
        uses: obi1kenobi/cargo-semver-checks-action@v2
        with:
          rust-toolchain: manual

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