Skip to content

Commit

Permalink
Merge pull request #12 from CommanderStorm/semver-checks
Browse files Browse the repository at this point in the history
Added `obi1kenobi/cargo-semver-checks` to the publishing workflows
  • Loading branch information
sidcha authored Aug 18, 2024
2 parents d2751f0 + acca165 commit 07a99ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-libosdp-sys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
with:
toolchain: stable
override: true
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
package: libosdp-sys
- name: "Publish crate"
run: |
cargo publish --token ${CRATES_TOKEN} -p libosdp-sys
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-libosdp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
with:
toolchain: stable
override: true
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
package: libosdp
- name: "Publish crate"
run: |
cargo publish --token ${CRATES_TOKEN} -p libosdp
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-osdpctl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
run: echo "TAG=${REL_TAG}" >> "${GITHUB_ENV}"
env:
REL_TAG: ${{ github.ref_name }}
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
package: osdpctl
- name: "Publish crate"
run: |
cargo publish --token ${CRATES_TOKEN} -p osdpctl
Expand Down

0 comments on commit 07a99ef

Please sign in to comment.