From b50faef0be58ca30c48337c08c7857baf2be8076 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Tue, 27 Feb 2024 17:45:44 -0500 Subject: [PATCH] CI should detect when breaking changes are introduced 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 --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c263a434..940c56ce1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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