File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,46 +13,31 @@ jobs:
1313 prepr-check :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : hashicorp/setup-terraform@v2
1716 - name : checkout
1817 uses : actions/checkout@v3
19- - uses : actions/setup-go@v3
20- with :
21- go-version : ' >=1.17.0'
22- - uses : actions/setup-node@v3
23- with :
24- node-version : 14
25- - name : make tools
26- run : |
27- make tools
2818 - name : gofmtcheck
2919 run : |
30- make gofmtcheck
20+ docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make gofmtcheck
3121 - name : gencheck
3222 run : |
33- make gencheck
23+ docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make gencheck
3424 - name : tfvalidatecheck
3525 run : |
36- make tfvalidatecheck
26+ docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make tfvalidatecheck
3727 - name : tffmtcheck
3828 run : |
39- make tffmtcheck
29+ docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make tffmtcheck
4030 - name : terrafmtcheck
4131 run : |
42- make terrafmtcheck
32+ docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make terrafmtcheck
4333 - name : golint
4434 run : |
45- make golint
35+ docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make golint
4636 - name : tflint
4737 run : |
48- make tflint
38+ docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make tflint
4939 - name : Run Checkov action
5040 id : checkov
5141 if : ${{env.SKIP_CHECKOV == ''}}
52- uses : bridgecrewio/checkov-action@master
53- with :
54- directory : ./
55- framework : terraform
56- quiet : true
57- output_format : sarif
58- download_external_modules : true
42+ run : |
43+ docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make checkovcheck
You can’t perform that action at this time.
0 commit comments