File tree Expand file tree Collapse file tree 5 files changed +136
-49
lines changed Expand file tree Collapse file tree 5 files changed +136
-49
lines changed Original file line number Diff line number Diff line change
1
+ # https://github.com/bflad/tfproviderlint
2
+
3
+ name : tfproviderlint
4
+
5
+ on : [push,pull_request]
6
+
7
+ jobs :
8
+ tfproviderlint :
9
+ name : tfproviderlint
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+
14
+ - run : make tfproviderlint
Original file line number Diff line number Diff line change @@ -46,4 +46,9 @@ fmtcheck:
46
46
errcheck :
47
47
@sh -c " '$( CURDIR) /scripts/errcheck.sh'"
48
48
49
- .PHONY : default build test testacc-up testacc-down testacc vet fmt fmtcheck errcheck
49
+ tfproviderlint :
50
+ go run github.com/bflad/tfproviderlint/cmd/tfproviderlintx \
51
+ -XAT001=false -XR003=false -XR005=false -XS001=false -XS002=false \
52
+ ./...
53
+
54
+ .PHONY : default build test testacc-up testacc-down testacc vet fmt fmtcheck errcheck tfproviderlint
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ module github.com/gitlabhq/terraform-provider-gitlab
3
3
go 1.16
4
4
5
5
require (
6
+ github.com/bflad/tfproviderlint v0.27.0
6
7
github.com/hashicorp/go-retryablehttp v0.7.0
7
- github.com/hashicorp/terraform-plugin-sdk v1.16.0
8
+ github.com/hashicorp/terraform-plugin-sdk v1.16.1
8
9
github.com/mitchellh/hashstructure v1.0.0
9
10
github.com/xanzy/go-gitlab v0.50.0
10
11
)
You can’t perform that action at this time.
0 commit comments