ci: allow local bypass of stale Cargo.lock check with custom variable instead of `CI` (#32798)
ci: don't use `CI` envvar to skip local stale Cargo.lock check to enable ```bash echo "export SOLANA_CI_ALLOW_STALE_CARGO_LOCK=" >> ~/.profile ```
This commit is contained in:
parent
2ea88b41fb
commit
b83cef43fc
|
@ -15,7 +15,7 @@ cargoNightly="$(readlink -f "./cargo") nightly"
|
||||||
|
|
||||||
scripts/increment-cargo-version.sh check
|
scripts/increment-cargo-version.sh check
|
||||||
|
|
||||||
if [ -n "$CI" ] ; then
|
if ! [ -v SOLANA_CI_ALLOW_STALE_CARGO_LOCK ] ; then
|
||||||
# Disallow uncommitted Cargo.lock changes
|
# Disallow uncommitted Cargo.lock changes
|
||||||
(
|
(
|
||||||
_ scripts/cargo-for-all-lock-files.sh tree >/dev/null
|
_ scripts/cargo-for-all-lock-files.sh tree >/dev/null
|
||||||
|
|
Loading…
Reference in New Issue