Skip to content

Commit 4ab01ee

Browse files
committed
Switch to downloading latest version of tflint
1 parent 0dc8eaf commit 4ab01ee

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ jobs:
2424
name: "Install: tflint"
2525
command: |
2626
apk add jq wget
27+
# Get latest version of tflint
2728
pkg_arch=linux_amd64
2829
dl_url=$(curl -s https://api.github.com/repos/wata727/tflint/releases/latest | jq -r ".assets[] | select(.name | test(\"${pkg_arch}\")) | .browser_download_url")
29-
echo "Download URL: ${dl_url}"
30-
#wget ${dl_url}
31-
wget https://github.com/wata727/tflint/releases/download/v0.5.4/tflint_linux_amd64.zip
30+
#echo "Download URL: ${dl_url}"
31+
wget ${dl_url}
32+
#wget https://github.com/wata727/tflint/releases/download/v0.5.4/tflint_linux_amd64.zip
3233
unzip tflint_linux_amd64.zip
3334
mkdir -p /usr/local/tflint/bin
3435
# TODO: CircleCI write to file for later run steps

0 commit comments

Comments
 (0)