intermodal/bin/check-minimal-versions

12 lines
175 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -euxo pipefail
git diff --no-ext-diff --quiet --exit-code
cargo +nightly generate-lockfile -Z minimal-versions
cargo test
git checkout Cargo.lock