Skip to content

Commit

Permalink
CI should detect when breaking changes are introduced
Browse files Browse the repository at this point in the history
Note that this uses a separate semver job - which may be an overkill - perhaps it should be added to the clippy job?  I wouldn't want it to compile so many times in different VMs unless needed.

See https://github.com/obi1kenobi/cargo-semver-checks?tab=readme-ov-file#quick-start
  • Loading branch information
nyurik committed Feb 27, 2024
1 parent f0f7494 commit b50faef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ jobs:
- run: cargo clippy --verbose --manifest-path test_max_level_features/Cargo.toml
- run: cargo clippy --verbose --manifest-path tests/Cargo.toml

semver:
name: Semver check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Check semver in case we must bump the version due to breaking changes
uses: obi1kenobi/cargo-semver-checks-action@v2

doc:
name: Check Documentation
runs-on: ubuntu-latest
Expand Down

0 comments on commit b50faef

Please sign in to comment.