From 357c2e7530bd41bb27e7111d40de5c7367baae46 Mon Sep 17 00:00:00 2001 From: Kirill Lykov Date: Wed, 28 Dec 2022 00:48:05 +0000 Subject: [PATCH] fix --- ci/test-bench.sh | 3 +++ ci/test-checks.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ci/test-bench.sh b/ci/test-bench.sh index 88dc1d64f624cc..0a0b0eb892fede 100755 --- a/ci/test-bench.sh +++ b/ci/test-bench.sh @@ -7,6 +7,9 @@ source ci/upload-ci-artifact.sh eval "$(ci/channel-info.sh)" +# To prevent usange of `./cargo` without `nightly` +# Introduce cargoNighlty and disable warning to use word splitting +# shellcheck disable=SC2086 cargoNightly="$(readlink -f "./cargo") nightly" set -o pipefail diff --git a/ci/test-checks.sh b/ci/test-checks.sh index d2d709c81df28b..cfd416d05cd5dc 100755 --- a/ci/test-checks.sh +++ b/ci/test-checks.sh @@ -8,6 +8,9 @@ source ci/_ source ci/rust-version.sh stable source ci/rust-version.sh nightly eval "$(ci/channel-info.sh)" +# To prevent usange of `./cargo` without `nightly` +# Introduce cargoNighlty and disable warning to use word splitting +# shellcheck disable=SC2086 cargoNightly="$(readlink -f "./cargo") nightly" scripts/increment-cargo-version.sh check