Skip to content

Commit

Permalink
Merge pull request #227 from oli-obk/obi1kenobi-patch-1
Browse files Browse the repository at this point in the history
Use the new cargo-semver-checks GitHub Action
  • Loading branch information
oli-obk committed Apr 24, 2023
2 parents 184e836 + 6489ef6 commit 5019a97
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Expand Up @@ -46,14 +46,10 @@ jobs:
exit 1
fi
# TODO: Replace this with the cargo-semver-checks v2 GitHub Action when it's stabilized:
# https://github.com/obi1kenobi/cargo-semver-checks-action/pull/21
- name: Semver-check
run: |
# Fail on first error, on undefined variables, and on errors in pipes.
set -euo pipefail
cargo install --locked cargo-semver-checks
cargo semver-checks check-release
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
rust-toolchain: manual # we've already installed Rust, don't install a new one

- name: Publish
run: cargo publish
Expand Down

0 comments on commit 5019a97

Please sign in to comment.