Skip to content

Commit 07a99ef

Browse files
authored
Merge pull request #12 from CommanderStorm/semver-checks
Added `obi1kenobi/cargo-semver-checks` to the publishing workflows
2 parents d2751f0 + acca165 commit 07a99ef

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/publish-libosdp-sys.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ jobs:
4343
with:
4444
toolchain: stable
4545
override: true
46+
- name: Check semver
47+
uses: obi1kenobi/cargo-semver-checks-action@v2
48+
with:
49+
package: libosdp-sys
4650
- name: "Publish crate"
4751
run: |
4852
cargo publish --token ${CRATES_TOKEN} -p libosdp-sys

.github/workflows/publish-libosdp.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ jobs:
4343
with:
4444
toolchain: stable
4545
override: true
46+
- name: Check semver
47+
uses: obi1kenobi/cargo-semver-checks-action@v2
48+
with:
49+
package: libosdp
4650
- name: "Publish crate"
4751
run: |
4852
cargo publish --token ${CRATES_TOKEN} -p libosdp

.github/workflows/publish-osdpctl.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
run: echo "TAG=${REL_TAG}" >> "${GITHUB_ENV}"
3636
env:
3737
REL_TAG: ${{ github.ref_name }}
38+
- name: Check semver
39+
uses: obi1kenobi/cargo-semver-checks-action@v2
40+
with:
41+
package: osdpctl
3842
- name: "Publish crate"
3943
run: |
4044
cargo publish --token ${CRATES_TOKEN} -p osdpctl

0 commit comments

Comments
 (0)