File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 14
14
run : |
15
15
sudo apt-get update -y
16
16
sudo apt-get install -y devscripts debhelper moreutils fakeroot jq pigz
17
- wget "https://github.com/koalaman/shellcheck/releases/download/v0.7.0 /shellcheck-v0.7.0 .linux.x86_64.tar.xz"
18
- tar --xz -xvf "shellcheck-v0.7.0 .linux.x86_64.tar.xz"
19
- sudo cp shellcheck-v0.7.0 /shellcheck /usr/bin/shellcheck
17
+ wget "https://github.com/koalaman/shellcheck/releases/download/latest /shellcheck-latest .linux.x86_64.tar.xz"
18
+ tar --xz -xvf "shellcheck-latest .linux.x86_64.tar.xz"
19
+ sudo cp shellcheck-latest /shellcheck /usr/bin/shellcheck
20
20
if : matrix.os != 'macos-latest'
21
21
- name : Install Dependencies (macOS)
22
22
run : |
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ BASE_PATH=$(cd "$(dirname "$0")/../" && pwd)
9
9
begin_test " shellcheck: reports no errors or warnings"
10
10
(
11
11
set -e
12
- # We manually install Shellcheck 0.7.0 on Linux builds as other options
12
+ # We manually install the latest Shellcheck on Linux builds as other options
13
13
# are too old.
14
- if [ -x " $BASE_PATH /shellcheck-v0.7.0 /shellcheck" ]; then
15
- shellcheck () { " $BASE_PATH /shellcheck-v0.7.0 /shellcheck" " $@ " ; }
14
+ if [ -x " $BASE_PATH /shellcheck-latest /shellcheck" ]; then
15
+ shellcheck () { " $BASE_PATH /shellcheck-latest /shellcheck" " $@ " ; }
16
16
fi
17
17
18
18
if ! type shellcheck 1> /dev/null 2>&1 ; then
You can’t perform that action at this time.
0 commit comments