Skip to content

Commit

Permalink
Move semver checks to a separate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski committed Jun 6, 2024
1 parent 07ef1b1 commit b0f89fe
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
24 changes: 24 additions & 0 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b0f89fe

Please sign in to comment.