File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,11 @@ jobs:
27
27
# Get latest version of tflint
28
28
pkg_arch=linux_amd64
29
29
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}"
31
30
wget ${dl_url}
32
- #wget https://github.com/wata727/tflint/releases/download/v0.5.4/tflint_linux_amd64.zip
33
31
unzip tflint_linux_amd64.zip
34
32
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
37
35
echo "Installing tflint..."
38
36
install tflint /usr/local/tflint/bin
39
37
echo "Configuring tflint..."
60
58
#echo "Initializing terraform..."
61
59
#terraform init -input=false
62
60
echo "Running tflint..."
63
- /usr/local/tflint/bin/ tflint --version
64
- /usr/local/tflint/bin/ tflint
61
+ tflint --version
62
+ tflint
65
63
66
64
workflows :
67
65
version : 2
You can’t perform that action at this time.
0 commit comments