Perform a locked install of cargo-semver-checks.

This commit is contained in:
Predrag Gruevski 2022-11-16 01:15:26 +00:00
parent 4cc566bb04
commit e410d1ab7a

View file

@ -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