Skip to content

Commit ff7ae86

Browse files
authored
[CLOUD-683] Bump minimum Go version to 1.20 (#284)
* [CLOUD-683] Bump minimum Go version to 1.20 * codecov v4 is not available * bump golangcli-lint version to 1.55.2
1 parent 8c60352 commit ff7ae86

File tree

7 files changed

+108
-74
lines changed

7 files changed

+108
-74
lines changed

.github/workflows/golint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ jobs:
2121
go-version: ${{ env.GO_VERSION }}
2222
- uses: golangci/golangci-lint-action@v3.7.0
2323
with:
24-
version: 'v1.50.1'
24+
version: 'v1.55.2'
2525
args: --timeout=30m0s

.go-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.19.11
1+
1.20.11

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ NOTES:
55
BREAKING CHANGES:
66

77
ENHANCEMENTS:
8+
* Bump minimum Go version to 1.20
89

910
FEATURES:
1011

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ output "hopsworks_cluster_url" {
104104
## Requirements
105105

106106
- [Terraform](https://www.terraform.io/downloads.html) >= 0.13.x
107-
- [Go](https://golang.org/doc/install) >= 1.19
108-
- [golangci-lint](https://golangci-lint.run/usage/install/) = 1.50.1
107+
- [Go](https://golang.org/doc/install) >= 1.20
108+
- [golangci-lint](https://golangci-lint.run/usage/install/) = 1.55.2
109109

110110

111111
## Quick Starts

acceptance-test.jenkins

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pipeline {
2424
stage ('install gloangci-lint') {
2525
steps {
2626
sh '''
27-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1
27+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
2828
golangci-lint --version
2929
'''
3030
}

go.mod

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
module github.com/logicalclocks/terraform-provider-hopsworksai
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
77
github.com/hashicorp/go-version v1.6.0
88
github.com/hashicorp/terraform-plugin-docs v0.16.0
99
github.com/hashicorp/terraform-plugin-log v0.9.0
10-
github.com/hashicorp/terraform-plugin-sdk/v2 v2.28.0
10+
github.com/hashicorp/terraform-plugin-sdk/v2 v2.30.0
1111
github.com/hashicorp/terraform-plugin-testing v1.5.1
1212
)
1313

1414
require (
1515
github.com/Masterminds/goutils v1.1.1 // indirect
1616
github.com/Masterminds/semver/v3 v3.1.1 // indirect
1717
github.com/Masterminds/sprig/v3 v3.2.2 // indirect
18-
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
18+
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
1919
github.com/agext/levenshtein v1.2.2 // indirect
20-
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
20+
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
2121
github.com/armon/go-radix v1.0.0 // indirect
2222
github.com/bgentry/speakeasy v0.1.0 // indirect
2323
github.com/cloudflare/circl v1.3.3 // indirect
2424
github.com/fatih/color v1.13.0 // indirect
2525
github.com/golang/protobuf v1.5.3 // indirect
26-
github.com/google/go-cmp v0.5.9 // indirect
26+
github.com/google/go-cmp v0.6.0 // indirect
2727
github.com/google/uuid v1.3.0 // indirect
2828
github.com/hashicorp/errwrap v1.1.0 // indirect
2929
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
3030
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
3131
github.com/hashicorp/go-hclog v1.5.0 // indirect
3232
github.com/hashicorp/go-multierror v1.1.1 // indirect
33-
github.com/hashicorp/go-plugin v1.4.10 // indirect
33+
github.com/hashicorp/go-plugin v1.5.1 // indirect
3434
github.com/hashicorp/go-uuid v1.0.3 // indirect
35-
github.com/hashicorp/hc-install v0.5.2 // indirect
36-
github.com/hashicorp/hcl/v2 v2.17.0 // indirect
35+
github.com/hashicorp/hc-install v0.6.1 // indirect
36+
github.com/hashicorp/hcl/v2 v2.19.1 // indirect
3737
github.com/hashicorp/logutils v1.0.0 // indirect
38-
github.com/hashicorp/terraform-exec v0.18.1 // indirect
38+
github.com/hashicorp/terraform-exec v0.19.0 // indirect
3939
github.com/hashicorp/terraform-json v0.17.1 // indirect
40-
github.com/hashicorp/terraform-plugin-go v0.18.0 // indirect
41-
github.com/hashicorp/terraform-registry-address v0.2.1 // indirect
40+
github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect
41+
github.com/hashicorp/terraform-registry-address v0.2.2 // indirect
4242
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
4343
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
4444
github.com/huandu/xstrings v1.3.2 // indirect
45-
github.com/imdario/mergo v0.3.13 // indirect
45+
github.com/imdario/mergo v0.3.15 // indirect
4646
github.com/mattn/go-colorable v0.1.13 // indirect
4747
github.com/mattn/go-isatty v0.0.16 // indirect
4848
github.com/mitchellh/cli v1.1.5 // indirect
@@ -59,15 +59,15 @@ require (
5959
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
6060
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
6161
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
62-
github.com/zclconf/go-cty v1.13.3 // indirect
63-
golang.org/x/crypto v0.12.0 // indirect
62+
github.com/zclconf/go-cty v1.14.1 // indirect
63+
golang.org/x/crypto v0.15.0 // indirect
6464
golang.org/x/exp v0.0.0-20230809150735-7b3493d9a819 // indirect
65-
golang.org/x/mod v0.11.0 // indirect
66-
golang.org/x/net v0.11.0 // indirect
67-
golang.org/x/sys v0.11.0 // indirect
68-
golang.org/x/text v0.12.0 // indirect
65+
golang.org/x/mod v0.13.0 // indirect
66+
golang.org/x/net v0.17.0 // indirect
67+
golang.org/x/sys v0.14.0 // indirect
68+
golang.org/x/text v0.14.0 // indirect
6969
google.golang.org/appengine v1.6.7 // indirect
70-
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
71-
google.golang.org/grpc v1.56.1 // indirect
70+
google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect
71+
google.golang.org/grpc v1.57.1 // indirect
7272
google.golang.org/protobuf v1.31.0 // indirect
7373
)

0 commit comments

Comments
 (0)