Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit b83cef4

Browse files
authored
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 ```
1 parent 2ea88b4 commit b83cef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/test-checks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cargoNightly="$(readlink -f "./cargo") nightly"
1515

1616
scripts/increment-cargo-version.sh check
1717

18-
if [ -n "$CI" ] ; then
18+
if ! [ -v SOLANA_CI_ALLOW_STALE_CARGO_LOCK ] ; then
1919
# Disallow uncommitted Cargo.lock changes
2020
(
2121
_ scripts/cargo-for-all-lock-files.sh tree >/dev/null

0 commit comments

Comments
 (0)