Skip to content

Commit 145117c

Browse files
authored
Merge pull request #1079 from gitlabhq/dependabot/go_modules/tools/github.com/golangci/golangci-lint-1.46.1
Go 1.17 and build(deps): bump github.com/golangci/golangci-lint from 1.45.2 to 1.46.1 in /tools
2 parents 3d00ba9 + 319f99d commit 145117c

File tree

6 files changed

+227
-94
lines changed

6 files changed

+227
-94
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.16
1+
1.17

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Documentation in [/docs](/docs) is auto-generated by [terraform-plugin-docs](htt
6262

6363
### Set Up Your Local Environment
6464

65-
You'll first need [Go](http://www.golang.org) installed on your machine (version 1.16+ is *required*).
65+
You'll first need [Go](http://www.golang.org) installed on your machine (version 1.17+ is *required*).
6666

6767
1. Clone the git repository.
6868

go.mod

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gitlabhq/terraform-provider-gitlab
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
@@ -9,10 +9,56 @@ require (
99
github.com/mitchellh/hashstructure v1.1.0
1010
github.com/onsi/gomega v1.19.0
1111
github.com/xanzy/go-gitlab v0.64.0
12+
)
13+
14+
require (
15+
github.com/agext/levenshtein v1.2.2 // indirect
16+
github.com/apparentlymart/go-cidr v1.1.0 // indirect
17+
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
18+
github.com/davecgh/go-spew v1.1.1 // indirect
19+
github.com/fatih/color v1.7.0 // indirect
20+
github.com/golang/protobuf v1.5.2 // indirect
21+
github.com/google/go-cmp v0.5.8 // indirect
22+
github.com/google/go-querystring v1.1.0 // indirect
23+
github.com/hashicorp/errwrap v1.0.0 // indirect
24+
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
25+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
26+
github.com/hashicorp/go-hclog v1.2.0 // indirect
27+
github.com/hashicorp/go-multierror v1.1.1 // indirect
28+
github.com/hashicorp/go-plugin v1.4.3 // indirect
29+
github.com/hashicorp/go-uuid v1.0.3 // indirect
30+
github.com/hashicorp/go-version v1.4.0 // indirect
31+
github.com/hashicorp/hc-install v0.3.1 // indirect
32+
github.com/hashicorp/hcl/v2 v2.12.0 // indirect
33+
github.com/hashicorp/logutils v1.0.0 // indirect
34+
github.com/hashicorp/terraform-exec v0.16.1 // indirect
35+
github.com/hashicorp/terraform-json v0.13.0 // indirect
36+
github.com/hashicorp/terraform-plugin-go v0.9.0 // indirect
37+
github.com/hashicorp/terraform-plugin-log v0.4.0 // indirect
38+
github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896 // indirect
39+
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
40+
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
41+
github.com/mattn/go-colorable v0.1.4 // indirect
42+
github.com/mattn/go-isatty v0.0.10 // indirect
43+
github.com/mitchellh/copystructure v1.2.0 // indirect
44+
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
45+
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
46+
github.com/mitchellh/mapstructure v1.5.0 // indirect
47+
github.com/mitchellh/reflectwalk v1.0.2 // indirect
48+
github.com/oklog/run v1.0.0 // indirect
49+
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
50+
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
51+
github.com/vmihailenco/tagparser v0.1.1 // indirect
52+
github.com/zclconf/go-cty v1.10.0 // indirect
1253
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 // indirect
1354
golang.org/x/net v0.0.0-20220421235706-1d1ef9303861 // indirect
1455
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 // indirect
56+
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
57+
golang.org/x/text v0.3.7 // indirect
1558
golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect
1659
google.golang.org/appengine v1.6.7 // indirect
1760
google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d // indirect
61+
google.golang.org/grpc v1.45.0 // indirect
62+
google.golang.org/protobuf v1.28.0 // indirect
63+
gopkg.in/yaml.v2 v2.4.0 // indirect
1864
)

internal/provider/helper_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func testAccCheck(t *testing.T) {
6969
t.Helper()
7070

7171
if os.Getenv(resource.EnvTfAcc) == "" {
72-
t.Skip(fmt.Sprintf("Acceptance tests skipped unless env '%s' set", resource.EnvTfAcc))
72+
t.Skipf("Acceptance tests skipped unless env '%s' set", resource.EnvTfAcc)
7373
}
7474
}
7575

@@ -428,7 +428,7 @@ type testAccGitlabProjectContext struct {
428428
// call testAccGitlabProjectContext.finish() when finished with the testAccGitlabProjectContext.
429429
func testAccGitlabProjectStart(t *testing.T) testAccGitlabProjectContext {
430430
if os.Getenv(resource.EnvTfAcc) == "" {
431-
t.Skip(fmt.Sprintf("Acceptance tests skipped unless env '%s' set", resource.EnvTfAcc))
431+
t.Skipf("Acceptance tests skipped unless env '%s' set", resource.EnvTfAcc)
432432
return testAccGitlabProjectContext{}
433433
}
434434

tools/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ go 1.16
44

55
require (
66
github.com/bflad/tfproviderlint v0.28.1
7-
github.com/golangci/golangci-lint v1.45.2
7+
github.com/golangci/golangci-lint v1.46.1
88
github.com/hashicorp/terraform-plugin-docs v0.8.0
9-
golang.org/x/tools v0.1.10
9+
golang.org/x/tools v0.1.11-0.20220316014157-77aa08bb151a
1010
mvdan.cc/sh/v3 v3.4.3
1111
)

0 commit comments

Comments
 (0)