From 28fa3f70ebd4b4503771a5da113f116c8f2be609 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 8 Oct 2019 21:59:11 -0700 Subject: [PATCH] Check minimal version compatibility before publishing 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 8ec37653b0..b7b775e456 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