diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f9eebf2..9f42e8e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,12 +101,3 @@ jobs: env: RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private_intra_doc_links" run: cargo doc --all-features - - check_semver: - name: Semver - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: Swatinem/rust-cache@v2 - - name: Check semver - uses: obi1kenobi/cargo-semver-checks-action@v2 diff --git a/.github/workflows/semver.yml b/.github/workflows/semver.yml new file mode 100644 index 00000000..9aac661d --- /dev/null +++ b/.github/workflows/semver.yml @@ -0,0 +1,24 @@ +# A separate workflow to check semver compatibility. This is in a separate workflow +# to avoid semver check failures (which will always happen when we're intentionally working on a +# new set of breaking changes) from making it look like our CI checks are failing. + +name: Semver + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +env: + CARGO_TERM_COLOR: always + +jobs: + check_semver: + name: Check Semver + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: Swatinem/rust-cache@v2 + - name: Check semver + uses: obi1kenobi/cargo-semver-checks-action@v2 \ No newline at end of file