Commit c01a14d 1 parent 96c1c24 commit c01a14d Copy full SHA for c01a14d
File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 28
28
- uses : actions/checkout@v4
29
29
with :
30
30
fetch-depth : 2
31
- - name : terraform fmt
31
+ - name : Setup terraform for linting examples
32
+ uses : hashicorp/setup-terraform@v3
33
+ - name : Lint examples
32
34
run : |
33
- make tflint
35
+ make lint-examples
34
36
- name : golangci-lint
35
37
uses : golangci/golangci-lint-action@v6
36
38
with :
Original file line number Diff line number Diff line change @@ -38,15 +38,15 @@ testacc:
38
38
golangcilint :
39
39
golangci-lint run
40
40
41
- tflint :
41
+ lint-examples :
42
42
terraform fmt -write=false -check=true -diff=true examples/
43
43
44
- lint : golangcilint tflint
44
+ lint : golangcilint lint-examples
45
45
46
46
clean :
47
47
rm -f terraform-provider-libvirt
48
48
49
49
cleanup :
50
50
./travis/cleanup.sh
51
51
52
- .PHONY : build install test testacc tflint golangcilint lint terraform-provider-libvirt
52
+ .PHONY : build install test testacc golangcilint lint lint-examples terraform-provider-libvirt
You can’t perform that action at this time.
0 commit comments