From e285142441da54973ba0c25764415f142c6ae670 Mon Sep 17 00:00:00 2001 From: Chris Beck Date: Thu, 18 Dec 2025 16:10:00 -0700 Subject: [PATCH] make semver checks work against crates.io versoins and be required --- .github/workflows/ci.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66b1ea8..f08873f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,20 +126,12 @@ jobs: - name: Clippy run: cargo clippy --all --all-features -- -D warnings - # Semver compatibility checks - # Use git baseline since crates aren't published to crates.io yet - # See: https://github.com/obi1kenobi/cargo-semver-checks?tab=readme-ov-file#does-the-crate-im-checking-have-to-be-published-on-cratesio + # Semver compatibility checks against published crates.io versions semver-checks: runs-on: ubuntu-latest - # Only run on PRs (compare PR head against base branch) - if: github.event_name == 'pull_request' steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Check semver uses: obi1kenobi/cargo-semver-checks-action@v2 - with: - baseline-rev: ${{ github.event.pull_request.base.sha }}