Skip to content

Commit faf6f2a

Browse files
authored
Bump go version to 1.20 (#2612)
1 parent 333cba2 commit faf6f2a

File tree

7 files changed

+2510
-718
lines changed

7 files changed

+2510
-718
lines changed

.github/workflows/github-actions.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
# If you want to matrix build , you can append the following list.
2121
matrix:
2222
go_version:
23-
- 1.17
23+
- '1.20'
2424
os:
2525
- ubuntu-latest
2626

@@ -72,6 +72,7 @@ jobs:
7272
7373
- name: Verify
7474
run: |
75+
go mod tidy
7576
make verify
7677
7778
- name: Integration Testing

.github/workflows/golangci-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
strategy:
1919
matrix:
2020
golang:
21-
- 1.17
21+
- '1.20'
2222
steps:
2323
- uses: actions/setup-go@v3
2424
with:
25-
go-version: 1.17
25+
go-version: ${{ matrix.go_version }}
2626
- uses: actions/checkout@v3
2727
- name: golangci-lint
2828
uses: golangci/[email protected]
2929
with:
30-
version: v1.44.2
30+
version: v1.54
3131
args: --timeout=10m
3232
skip-go-installation: true

cmd/protoc-gen-go-triple/go.mod

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
module dubbo.apache.org/dubbo-go/v3/cmd/protoc-gen-go-triple
22

3-
go 1.15
3+
go 1.20
44

55
require (
66
github.com/golang/protobuf v1.5.3
7-
github.com/google/go-cmp v0.5.7 // indirect
87
github.com/pkg/errors v0.9.1
9-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
108
google.golang.org/protobuf v1.31.0
119
)
10+
11+
require (
12+
github.com/google/go-cmp v0.5.7 // indirect
13+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
14+
)

go.mod

Lines changed: 77 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
module dubbo.apache.org/dubbo-go/v3
22

3-
go 1.16
3+
go 1.20
44

55
require (
6-
cloud.google.com/go/compute/metadata v0.2.3 // indirect
76
github.com/RoaringBitmap/roaring v1.2.3
87
github.com/Workiva/go-datastructures v1.0.52
98
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
109
github.com/alibaba/sentinel-golang v1.0.4
1110
github.com/apache/dubbo-getty v1.4.9
1211
github.com/apache/dubbo-go-hessian2 v1.12.2
1312
github.com/cespare/xxhash/v2 v2.2.0
14-
github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe
15-
github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195
13+
github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4
14+
github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc
1615
github.com/creasty/defaults v1.5.2
1716
github.com/dubbogo/go-zookeeper v1.0.4-0.20211212162352-f9d2183d89d5
1817
github.com/dubbogo/gost v1.14.0
@@ -21,44 +20,35 @@ require (
2120
github.com/dustin/go-humanize v1.0.1
2221
github.com/emicklei/go-restful/v3 v3.10.1
2322
github.com/envoyproxy/go-control-plane v0.11.0
24-
github.com/envoyproxy/protoc-gen-validate v0.10.0 // indirect
2523
github.com/fsnotify/fsnotify v1.6.0
2624
github.com/go-co-op/gocron v1.9.0
27-
github.com/go-logr/logr v1.2.4 // indirect
2825
github.com/go-playground/validator/v10 v10.12.0
2926
github.com/go-resty/resty/v2 v2.7.0
30-
github.com/golang/glog v1.1.0 // indirect
3127
github.com/golang/mock v1.6.0
3228
github.com/golang/protobuf v1.5.3
3329
github.com/google/go-cmp v0.5.9
3430
github.com/google/uuid v1.3.0
35-
github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99 // indirect
3631
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645
3732
github.com/hashicorp/golang-lru v0.5.4
3833
github.com/hashicorp/vault/sdk v0.7.0
3934
github.com/influxdata/tdigest v0.0.1
4035
github.com/jinzhu/copier v0.3.5
4136
github.com/knadh/koanf v1.5.0
42-
github.com/kr/pretty v0.3.0 // indirect
4337
github.com/magiconair/properties v1.8.5
4438
github.com/mattn/go-colorable v0.1.13
45-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
4639
github.com/mitchellh/mapstructure v1.5.0
4740
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
4841
github.com/nacos-group/nacos-sdk-go/v2 v2.2.2
4942
github.com/oliveagle/jsonpath v0.0.0-20180606110733-2e52cf6e6852
5043
github.com/opentracing/opentracing-go v1.2.0
51-
github.com/pelletier/go-toml v1.9.3 // indirect
5244
github.com/pkg/errors v0.9.1
5345
github.com/polarismesh/polaris-go v1.3.0
5446
github.com/prometheus/client_golang v1.13.0
5547
github.com/prometheus/common v0.37.0
56-
github.com/rogpeppe/go-internal v1.8.0 // indirect
5748
github.com/sirupsen/logrus v1.8.1
5849
github.com/stretchr/testify v1.8.3
5950
github.com/ugorji/go/codec v1.2.6
6051
go.etcd.io/etcd/api/v3 v3.5.7
61-
go.etcd.io/etcd/client/v2 v2.305.0 // indirect
6252
go.etcd.io/etcd/client/v3 v3.5.7
6353
go.opentelemetry.io/contrib/propagators/b3 v1.10.0
6454
go.opentelemetry.io/otel v1.10.0
@@ -71,13 +61,85 @@ require (
7161
go.opentelemetry.io/otel/sdk v1.10.0
7262
go.opentelemetry.io/otel/trace v1.10.0
7363
go.uber.org/atomic v1.10.0
74-
go.uber.org/multierr v1.8.0 // indirect
7564
go.uber.org/zap v1.21.0
7665
golang.org/x/net v0.17.0
77-
golang.org/x/oauth2 v0.6.0 // indirect
7866
google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef
7967
google.golang.org/grpc v1.52.0
8068
google.golang.org/protobuf v1.30.0
8169
gopkg.in/natefinch/lumberjack.v2 v2.2.1
8270
gopkg.in/yaml.v2 v2.4.0
8371
)
72+
73+
require (
74+
cloud.google.com/go/compute v1.14.0 // indirect
75+
cloud.google.com/go/compute/metadata v0.2.3 // indirect
76+
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1704 // indirect
77+
github.com/beorn7/perks v1.0.1 // indirect
78+
github.com/bits-and-blooms/bitset v1.2.0 // indirect
79+
github.com/buger/jsonparser v1.1.1 // indirect
80+
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
81+
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
82+
github.com/coreos/go-semver v0.3.0 // indirect
83+
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
84+
github.com/davecgh/go-spew v1.1.1 // indirect
85+
github.com/dlclark/regexp2 v1.7.0 // indirect
86+
github.com/envoyproxy/protoc-gen-validate v0.10.0 // indirect
87+
github.com/go-logr/logr v1.2.4 // indirect
88+
github.com/go-logr/stdr v1.2.2 // indirect
89+
github.com/go-ole/go-ole v1.2.6 // indirect
90+
github.com/go-playground/locales v0.14.1 // indirect
91+
github.com/go-playground/universal-translator v0.18.1 // indirect
92+
github.com/gogo/protobuf v1.3.2 // indirect
93+
github.com/golang/glog v1.1.0 // indirect
94+
github.com/golang/snappy v0.0.4 // indirect
95+
github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99 // indirect
96+
github.com/gorilla/websocket v1.4.2 // indirect
97+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect
98+
github.com/hashicorp/errwrap v1.1.0 // indirect
99+
github.com/hashicorp/go-multierror v1.1.1 // indirect
100+
github.com/jmespath/go-jmespath v0.4.0 // indirect
101+
github.com/json-iterator/go v1.1.12 // indirect
102+
github.com/k0kubun/pp v3.0.1+incompatible // indirect
103+
github.com/kr/pretty v0.3.0 // indirect
104+
github.com/leodido/go-urn v1.2.2 // indirect
105+
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
106+
github.com/mattn/go-isatty v0.0.16 // indirect
107+
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
108+
github.com/mitchellh/copystructure v1.2.0 // indirect
109+
github.com/mitchellh/go-homedir v1.1.0 // indirect
110+
github.com/mitchellh/reflectwalk v1.0.2 // indirect
111+
github.com/modern-go/reflect2 v1.0.2 // indirect
112+
github.com/mschoch/smat v0.2.0 // indirect
113+
github.com/natefinch/lumberjack v2.0.0+incompatible // indirect
114+
github.com/openzipkin/zipkin-go v0.4.0 // indirect
115+
github.com/pelletier/go-toml v1.9.3 // indirect
116+
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
117+
github.com/pmezard/go-difflib v1.0.0 // indirect
118+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
119+
github.com/prometheus/client_model v0.3.0 // indirect
120+
github.com/prometheus/procfs v0.8.0 // indirect
121+
github.com/robfig/cron/v3 v3.0.1 // indirect
122+
github.com/rogpeppe/go-internal v1.8.0 // indirect
123+
github.com/shirou/gopsutil/v3 v3.22.2 // indirect
124+
github.com/spaolacci/murmur3 v1.1.0 // indirect
125+
github.com/stretchr/objx v0.5.0 // indirect
126+
github.com/tklauser/go-sysconf v0.3.10 // indirect
127+
github.com/tklauser/numcpus v0.4.0 // indirect
128+
github.com/uber/jaeger-client-go v2.29.1+incompatible // indirect
129+
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
130+
github.com/yusufpapurcu/wmi v1.2.2 // indirect
131+
go.etcd.io/etcd/client/pkg/v3 v3.5.7 // indirect
132+
go.etcd.io/etcd/client/v2 v2.305.0 // indirect
133+
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.10.0 // indirect
134+
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
135+
go.uber.org/multierr v1.8.0 // indirect
136+
golang.org/x/crypto v0.14.0 // indirect
137+
golang.org/x/oauth2 v0.6.0 // indirect
138+
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
139+
golang.org/x/sys v0.13.0 // indirect
140+
golang.org/x/text v0.13.0 // indirect
141+
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
142+
google.golang.org/appengine v1.6.7 // indirect
143+
gopkg.in/ini.v1 v1.66.2 // indirect
144+
gopkg.in/yaml.v3 v3.0.1 // indirect
145+
)

0 commit comments

Comments
 (0)