Check minimal version compatibility before publishing (#487)
Checks that we build and pass tests with the minimal dependency versions declared declared in Cargo.toml, as part of the `publish-check` recipe run before publishing a new version of Just.
This commit is contained in:
parent
bd75c5f51d
commit
5da0079ad9
3
justfile
3
justfile
@ -53,6 +53,9 @@ publish-check: lint clippy test
|
|||||||
git branch | grep '* master'
|
git branch | grep '* master'
|
||||||
git diff --no-ext-diff --quiet --exit-code
|
git diff --no-ext-diff --quiet --exit-code
|
||||||
grep {{version}} CHANGELOG.md
|
grep {{version}} CHANGELOG.md
|
||||||
|
cargo +nightly generate-lockfile -Z minimal-versions
|
||||||
|
cargo test
|
||||||
|
git checkout
|
||||||
|
|
||||||
publish: publish-check
|
publish: publish-check
|
||||||
cargo publish
|
cargo publish
|
||||||
|
Loading…
Reference in New Issue
Block a user