Skip to content

Commit 9f5c287

Browse files
committed
Fix scripts following shellcheck
1 parent 2f60502 commit 9f5c287

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ci/semver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ for TARGET in $TARGETS; do
7272
done
7373

7474
# FIXME: Use upstream once it gets rustup.
75-
cargo +${NIGHTLY_DATE} semverfork --api-guidelines --target="${TARGET}"
75+
cargo semverfork --api-guidelines --target="${TARGET}"
7676
done

ci/style.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ if rustup component add rustfmt-preview ; then
1111
fi
1212

1313
if shellcheck --version ; then
14-
shellcheck -e SC2103 ci/*.sh
14+
# GHA's shellcheck is too old (0.4.6) and cannot handle SC2153 correctly.
15+
shellcheck -e SC2103 -e SC2153 ci/*.sh
1516
else
1617
echo "shellcheck not found"
1718
exit 1

0 commit comments

Comments
 (0)