File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 2828 - uses : actions/checkout@v4
2929 with :
3030 fetch-depth : 2
31- - name : terraform fmt
31+ - name : Setup terraform for linting examples
32+ uses : hashicorp/setup-terraform@v3
33+ - name : Lint examples
3234 run : |
33- make tflint
35+ make lint-examples
3436 - name : golangci-lint
3537 uses : golangci/golangci-lint-action@v6
3638 with :
Original file line number Diff line number Diff line change @@ -38,15 +38,15 @@ testacc:
3838golangcilint :
3939 golangci-lint run
4040
41- tflint :
41+ lint-examples :
4242 terraform fmt -write=false -check=true -diff=true examples/
4343
44- lint : golangcilint tflint
44+ lint : golangcilint lint-examples
4545
4646clean :
4747 rm -f terraform-provider-libvirt
4848
4949cleanup :
5050 ./travis/cleanup.sh
5151
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