Skip to content

Commit 3ecbb54

Browse files
committed
Cleanup
1 parent 4ab01ee commit 3ecbb54

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.circleci/config.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,11 @@ jobs:
2727
# Get latest version of tflint
2828
pkg_arch=linux_amd64
2929
dl_url=$(curl -s https://api.github.com/repos/wata727/tflint/releases/latest | jq -r ".assets[] | select(.name | test(\"${pkg_arch}\")) | .browser_download_url")
30-
#echo "Download URL: ${dl_url}"
3130
wget ${dl_url}
32-
#wget https://github.com/wata727/tflint/releases/download/v0.5.4/tflint_linux_amd64.zip
3331
unzip tflint_linux_amd64.zip
3432
mkdir -p /usr/local/tflint/bin
35-
# TODO: CircleCI write to file for later run steps
36-
#export PATH=/usr/local/tflint/bin:$PATH
33+
# Setup PATH for later run steps
34+
echo 'export PATH=/usr/local/tflint/bin:$PATH' >> $BASH_ENV
3735
echo "Installing tflint..."
3836
install tflint /usr/local/tflint/bin
3937
echo "Configuring tflint..."
@@ -60,8 +58,8 @@ jobs:
6058
#echo "Initializing terraform..."
6159
#terraform init -input=false
6260
echo "Running tflint..."
63-
/usr/local/tflint/bin/tflint --version
64-
/usr/local/tflint/bin/tflint
61+
tflint --version
62+
tflint
6563
6664
workflows:
6765
version: 2

0 commit comments

Comments
 (0)