Skip to content

Commit 8bf446b

Browse files
authored
chore: upgrade go-zero 1.6.0 version (#31)
* chore: upgrade go-zero 1.6.0 version * chore: upgrade go-zero 1.6.0 version
1 parent 13140b3 commit 8bf446b

File tree

6 files changed

+89
-478
lines changed

6 files changed

+89
-478
lines changed

.github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@v4
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v2
42+
uses: github/codeql-action/init@v3
4343
with:
4444
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v2
53+
uses: github/codeql-action/autobuild@v3
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v2
67+
uses: github/codeql-action/analyze@v3

.github/workflows/go.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
- name: Set up Go 1.x
1616
uses: actions/setup-go@v3
1717
with:
18-
go-version: ^1.16
18+
go-version: ^1.19
1919
id: go
2020

2121
- name: Check out code into the Go module directory
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
- name: Get dependencies
2525
run: |
@@ -29,4 +29,4 @@ jobs:
2929
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
3030

3131
- name: Codecov
32-
uses: codecov/codecov-action@v2
32+
uses: codecov/codecov-action@v3

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
goos: [ linux, windows, darwin ]
1414
goarch: [ amd64, arm64 ]
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- uses: wangyoucao577/[email protected]
1818
with:
1919
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/reviewdog.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ jobs:
55
name: runner / staticcheck
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
9-
- uses: actions/setup-go@v3
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-go@v4
1010
with:
11-
go-version: "1.18"
11+
go-version: "1.19"
1212
- uses: reviewdog/action-staticcheck@v1
1313
with:
1414
github_token: ${{ secrets.github_token }}

go.mod

+24-25
Original file line numberDiff line numberDiff line change
@@ -5,50 +5,49 @@ go 1.18
55
require (
66
github.com/DATA-DOG/go-sqlmock v1.5.0
77
github.com/stretchr/testify v1.8.4
8-
github.com/zeromicro/go-zero v1.5.6
9-
go.opentelemetry.io/otel v1.14.0
10-
go.opentelemetry.io/otel/trace v1.14.0
8+
github.com/zeromicro/go-zero v1.6.0
9+
go.opentelemetry.io/otel v1.19.0
10+
go.opentelemetry.io/otel/trace v1.19.0
1111
)
1212

1313
require (
1414
github.com/beorn7/perks v1.0.1 // indirect
15-
github.com/cenkalti/backoff/v4 v4.2.0 // indirect
15+
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
1616
github.com/cespare/xxhash/v2 v2.2.0 // indirect
1717
github.com/davecgh/go-spew v1.1.1 // indirect
1818
github.com/fatih/color v1.15.0 // indirect
19-
github.com/go-logr/logr v1.2.3 // indirect
19+
github.com/go-logr/logr v1.2.4 // indirect
2020
github.com/go-logr/stdr v1.2.2 // indirect
2121
github.com/go-sql-driver/mysql v1.7.1 // indirect
2222
github.com/golang/protobuf v1.5.3 // indirect
23-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.0 // indirect
23+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 // indirect
2424
github.com/mattn/go-colorable v0.1.13 // indirect
25-
github.com/mattn/go-isatty v0.0.17 // indirect
25+
github.com/mattn/go-isatty v0.0.20 // indirect
2626
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
27-
github.com/openzipkin/zipkin-go v0.4.1 // indirect
27+
github.com/openzipkin/zipkin-go v0.4.2 // indirect
2828
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
2929
github.com/pmezard/go-difflib v1.0.0 // indirect
30-
github.com/prometheus/client_golang v1.16.0 // indirect
31-
github.com/prometheus/client_model v0.3.0 // indirect
32-
github.com/prometheus/common v0.42.0 // indirect
33-
github.com/prometheus/procfs v0.10.1 // indirect
30+
github.com/prometheus/client_golang v1.17.0 // indirect
31+
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect
32+
github.com/prometheus/common v0.44.0 // indirect
33+
github.com/prometheus/procfs v0.11.1 // indirect
3434
github.com/spaolacci/murmur3 v1.1.0 // indirect
35-
go.opentelemetry.io/otel/exporters/jaeger v1.14.0 // indirect
36-
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.14.0 // indirect
37-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.14.0 // indirect
38-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.14.0 // indirect
39-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.14.0 // indirect
40-
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.14.0 // indirect
41-
go.opentelemetry.io/otel/exporters/zipkin v1.14.0 // indirect
42-
go.opentelemetry.io/otel/sdk v1.14.0 // indirect
43-
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
35+
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 // indirect
36+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 // indirect
37+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.19.0 // indirect
38+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0 // indirect
39+
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.19.0 // indirect
40+
go.opentelemetry.io/otel/exporters/zipkin v1.19.0 // indirect
41+
go.opentelemetry.io/otel/metric v1.19.0 // indirect
42+
go.opentelemetry.io/otel/sdk v1.19.0 // indirect
43+
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
4444
go.uber.org/automaxprocs v1.5.3 // indirect
4545
golang.org/x/net v0.17.0 // indirect
4646
golang.org/x/sys v0.13.0 // indirect
4747
golang.org/x/text v0.13.0 // indirect
48-
google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect
49-
google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e // indirect
50-
google.golang.org/genproto/googleapis/rpc v0.0.0-20230913181813-007df8e322eb // indirect
51-
google.golang.org/grpc v1.58.2 // indirect
48+
google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b // indirect
49+
google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b // indirect
50+
google.golang.org/grpc v1.59.0 // indirect
5251
google.golang.org/protobuf v1.31.0 // indirect
5352
gopkg.in/yaml.v2 v2.4.0 // indirect
5453
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)