Skip to content

Commit 76b8999

Browse files
authored
Merge pull request #17530 from MinaProtocol/dw/bump-up-shellcheck-version-in-ci
CI: use shellcheck 0.10.0
2 parents 4663419 + ff78bf5 commit 76b8999

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

buildkite/src/Jobs/Lint/Bash.dhall

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ let Size = ../../Command/Size.dhall
1414

1515
let RunInToolchain = ../../Command/RunInToolchain.dhall
1616

17+
let shellcheckVersion = "v0.10.0"
18+
1719
in Pipeline.build
1820
Pipeline.Config::{
1921
, spec = JobSpec::{
@@ -37,8 +39,10 @@ in Pipeline.build
3739
RunInToolchain.runInToolchain
3840
([] : List Text)
3941
( "sudo apt-get update"
40-
++ " && sudo apt-get install shellcheck"
41-
++ " && make check-bash "
42+
++ " && wget https://github.com/koalaman/shellcheck/releases/download/${shellcheckVersion}/shellcheck-${shellcheckVersion}.linux.x86_64.tar.xz"
43+
++ " && tar xvf shellcheck-${shellcheckVersion}.linux.x86_64.tar.xz"
44+
++ " && sudo cp shellcheck-${shellcheckVersion}/shellcheck /usr/local/bin/"
45+
++ " && make check-bash"
4246
)
4347
, label = "Bash: shellcheck"
4448
, key = "check-bash"

0 commit comments

Comments
 (0)