File tree Expand file tree Collapse file tree 1 file changed +19
-16
lines changed Expand file tree Collapse file tree 1 file changed +19
-16
lines changed Original file line number Diff line number Diff line change @@ -43,25 +43,28 @@ jobs:
43
43
continue-on-error : true
44
44
- name : validate terraform
45
45
run : terraform validate
46
-
47
- tflint :
48
- name : tflint
49
- runs-on : ubuntu-latest
50
- steps :
51
- - name : " Checkout"
52
- uses : actions/checkout@v3
53
- - name : tflint
54
- uses : reviewdog/action-tflint@master
46
+ - if : contains(matrix.terraform, '1.3.')
47
+ name : Setup TFLint
48
+ uses : terraform-linters/setup-tflint@v2
55
49
with :
56
50
github_token : ${{ secrets.GITHUB_TOKEN }}
57
- fail_on_error : " true" # Optional. Fail action if errors are found
58
- filter_mode : " nofilter" # Optional. Check all files, not just the diff
51
+ - if : contains(matrix.terraform, '1.3.')
52
+ name : Run TFLint
53
+ run : tflint -f compact
54
+
55
+ # tflint:
56
+ # name: tflint
57
+ # runs-on: ubuntu-latest
58
+ # steps:
59
+ # - name: "Checkout"
60
+ # uses: actions/checkout@v3
61
+ # - name: tflint
62
+ # uses: reviewdog/action-tflint@master
63
+ # with:
64
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
65
+ # fail_on_error: "true" # Optional. Fail action if errors are found
66
+ # filter_mode: "nofilter" # Optional. Check all files, not just the diff
59
67
60
- # name: Setup TFLint
61
- # uses: terraform-linters/setup-tflint@v2
62
- # - if: contains(matrix.terraform, '1.3.')
63
- # name: Run TFLint
64
- # run: tflint -f compact
65
68
66
69
verify_examples :
67
70
name : Verify examples
You can’t perform that action at this time.
0 commit comments