File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 18
18
run : |
19
19
sudo apt-get update -y
20
20
sudo apt-get install -y devscripts debhelper moreutils fakeroot jq pigz help2man
21
- wget "https://github.com/koalaman/shellcheck/releases/download/latest /shellcheck-latest .linux.x86_64.tar.xz"
22
- tar --xz -xvf "shellcheck-latest .linux.x86_64.tar.xz"
23
- sudo cp shellcheck-latest /shellcheck /usr/bin/shellcheck
21
+ wget "https://github.com/koalaman/shellcheck/releases/download/stable /shellcheck-stable .linux.x86_64.tar.xz"
22
+ tar --xz -xvf "shellcheck-stable .linux.x86_64.tar.xz"
23
+ sudo cp shellcheck-stable /shellcheck /usr/bin/shellcheck
24
24
if : matrix.os != 'macos-latest'
25
25
- name : Install Dependencies (macOS)
26
26
run : |
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ begin_test "shellcheck: reports no errors or warnings"
11
11
set -e
12
12
# We manually install the latest Shellcheck on Linux builds as other options
13
13
# are too old.
14
- if [ -x " $BASE_PATH /shellcheck-latest /shellcheck" ]; then
15
- shellcheck () { " $BASE_PATH /shellcheck-latest /shellcheck" " $@ " ; }
14
+ if [ -x " $BASE_PATH /shellcheck-stable /shellcheck" ]; then
15
+ shellcheck () { " $BASE_PATH /shellcheck-stable /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