From 5da0079ad9ab379bba21e31a691acc4bdba40039 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 8 Oct 2019 22:17:22 -0700 Subject: [PATCH] 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. --- justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/justfile b/justfile index 8ec3765..b7b775e 100755 --- a/justfile +++ b/justfile @@ -53,6 +53,9 @@ publish-check: lint clippy test git branch | grep '* master' git diff --no-ext-diff --quiet --exit-code grep {{version}} CHANGELOG.md + cargo +nightly generate-lockfile -Z minimal-versions + cargo test + git checkout publish: publish-check cargo publish