Skip to content

Commit

Permalink
CI: add semver-check
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-CH-Leung authored and Philippe-Cholet committed Jan 22, 2024
1 parent e559360 commit cafd975
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,21 @@ jobs:
components: rustfmt
- run: cargo fmt --check

semver-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: obi1kenobi/cargo-semver-checks-action@v2.1
with:
rust-toolchain: stable
feature-group: all-features

# Used to signal to branch protections that all other jobs have succeeded.
all-jobs-succeed:
name: All checks succeeded
if: success()
runs-on: ubuntu-latest
needs: [check, msrv, test, check-format, doc]
needs: [check, msrv, test, check-format, doc, semver-checks]
steps:
- name: Mark the job as successful
run: exit 0

0 comments on commit cafd975

Please sign in to comment.