Skip to content

Commit cafd975

Browse files
Owen-CH-LeungPhilippe-Cholet
authored andcommitted
CI: add semver-check
1 parent e559360 commit cafd975

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,21 @@ jobs:
6565
components: rustfmt
6666
- run: cargo fmt --check
6767

68+
semver-checks:
69+
runs-on: ubuntu-latest
70+
steps:
71+
- uses: actions/checkout@v4
72+
- uses: obi1kenobi/cargo-semver-checks-action@v2.1
73+
with:
74+
rust-toolchain: stable
75+
feature-group: all-features
76+
6877
# Used to signal to branch protections that all other jobs have succeeded.
6978
all-jobs-succeed:
7079
name: All checks succeeded
7180
if: success()
7281
runs-on: ubuntu-latest
73-
needs: [check, msrv, test, check-format, doc]
82+
needs: [check, msrv, test, check-format, doc, semver-checks]
7483
steps:
7584
- name: Mark the job as successful
7685
run: exit 0

0 commit comments

Comments
 (0)