mirror of
https://github.com/obi1kenobi/cargo-semver-checks-action.git
synced 2024-11-23 00:19:32 +01:00
Perform a locked install of cargo-semver-checks.
This commit is contained in:
parent
4cc566bb04
commit
e410d1ab7a
1 changed files with 1 additions and 1 deletions
|
@ -76,5 +76,5 @@ runs:
|
||||||
mv "$(cargo metadata --format-version 1 | jq -r .target_directory)/doc/$PACKAGE_NAME_WITH_UNDERSCORES.json" /tmp/current.json
|
mv "$(cargo metadata --format-version 1 | jq -r .target_directory)/doc/$PACKAGE_NAME_WITH_UNDERSCORES.json" /tmp/current.json
|
||||||
|
|
||||||
# Check for semver violations.
|
# Check for semver violations.
|
||||||
cargo install cargo-semver-checks
|
cargo install cargo-semver-checks --locked
|
||||||
cargo semver-checks check-release --current /tmp/current.json --baseline /tmp/baseline.json
|
cargo semver-checks check-release --current /tmp/current.json --baseline /tmp/baseline.json
|
||||||
|
|
Loading…
Reference in a new issue