From 722436d9d889213fd0163f12f6ffcea751d0da64 Mon Sep 17 00:00:00 2001 From: Alexander Evgin Date: Fri, 21 Feb 2025 15:03:57 +0400 Subject: [PATCH] Add SemVer violation check to publishing CI workflow This tool has a number of false negatives and may not catch all the violations. --- .github/workflows/publish.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 15d3a2d..e48eebe 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -83,6 +83,9 @@ jobs: ls buf_exported/ cat buf_exported/protos.txt + - name: Check SemVer violations + uses: obi1kenobi/cargo-semver-checks-action@v2 + - name: Cargo publish env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}