diff options
author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-10 23:16:09 +0900 |
---|---|---|
committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-14 07:40:01 +0900 |
commit | 9f5c28794498042e7e838df93317435afbfa79ee (patch) | |
tree | 92a7ec1ce0d074555df7f132f65a36d7da1428ef | |
parent | 2f605023a40f076f0e1f64cd3d3f2481895176f5 (diff) | |
download | rust-libc-9f5c28794498042e7e838df93317435afbfa79ee.tar.gz |
Fix scripts following shellcheck
-rw-r--r-- | ci/semver.sh | 2 | ||||
-rw-r--r-- | ci/style.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ci/semver.sh b/ci/semver.sh index 8f8ce40c82..75f83aedbb 100644 --- a/ci/semver.sh +++ b/ci/semver.sh @@ -72,5 +72,5 @@ for TARGET in $TARGETS; do done # FIXME: Use upstream once it gets rustup. - cargo +${NIGHTLY_DATE} semverfork --api-guidelines --target="${TARGET}" + cargo semverfork --api-guidelines --target="${TARGET}" done diff --git a/ci/style.sh b/ci/style.sh index 7acd128de2..6dc9f1333c 100644 --- a/ci/style.sh +++ b/ci/style.sh @@ -11,7 +11,8 @@ if rustup component add rustfmt-preview ; then fi if shellcheck --version ; then - shellcheck -e SC2103 ci/*.sh + # GHA's shellcheck is too old (0.4.6) and cannot handle SC2153 correctly. + shellcheck -e SC2103 -e SC2153 ci/*.sh else echo "shellcheck not found" exit 1 |