Skip to content

Commit 0073e84

Browse files
authored
chore: bump deps and service version (#190)
Signed-off-by: rogerogers <[email protected]>
1 parent d34d5ca commit 0073e84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+801
-1190
lines changed

.github/workflows/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616

1717
- name: Generate Dependabot config
1818
run: ./regenerate-dependabot-config.sh
@@ -33,7 +33,7 @@ jobs:
3333
3434
- name: Create Pull Request
3535
if: steps.check_changes.outcome == 'failure'
36-
uses: peter-evans/create-pull-request@v4
36+
uses: peter-evans/create-pull-request@v8
3737
with:
3838
token: ${{ secrets.GITHUB_TOKEN }}
3939
branch: update-dependabot-config

.github/workflows/pr-check.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@v6
1010

1111
- name: Set up Go
12-
uses: actions/setup-go@v5
12+
uses: actions/setup-go@v6
1313
with:
1414
go-version: 1.23
1515

16-
- uses: actions/cache@v3
16+
- uses: actions/cache@v5
1717
with:
1818
path: ~/go/pkg/mod
1919
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -23,4 +23,3 @@ jobs:
2323
- name: Benchmark
2424
run: go test -bench=. -benchmem -run=none ./...
2525

26-

.github/workflows/push-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@v6
1010

1111
- name: Set up Go
12-
uses: actions/setup-go@v5
12+
uses: actions/setup-go@v6
1313
with:
1414
go-version: 1.23
1515

16-
- uses: actions/cache@v4
16+
- uses: actions/cache@v5
1717
with:
1818
path: ~/go/pkg/mod
1919
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -32,7 +32,7 @@ jobs:
3232
run: go test -v -race -covermode=atomic -coverprofile=coverage.out ./...
3333

3434
- name: Set up Docker Buildx
35-
uses: docker/setup-buildx-action@v1
35+
uses: docker/setup-buildx-action@v3
3636

3737
- name: Run test.sh
3838
run: |

.github/workflows/reviewdog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
# checkout code
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@v6
1010

1111
- uses: reviewdog/action-staticcheck@v1
1212
with:
@@ -18,4 +18,4 @@ jobs:
1818
# Exit with 1 when it finds at least one finding.
1919
fail_on_error: true
2020
# Set staticcheck flags
21-
staticcheck_flags: -checks=inherit,-SA1029,-ST1005
21+
staticcheck_flags: -checks=inherit,-SA1029,-ST1005
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
version: '3'
2-
31
services:
42
etcd:
5-
image: bitnami/etcd:3.5
6-
container_name: etcd
3+
image: "quay.io/coreos/etcd:v3.6.7"
4+
environment:
5+
- ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379
6+
- ETCD_ADVERTISE_CLIENT_URLS=http://0.0.0.0:2379
77
ports:
88
- 2379:2379
9-
- 2380:2380
10-
volumes:
11-
- ./etcd/data:/bitnami/etcd-data
12-
environment:
13-
- TZ=Asia/Shanghai
14-
- ALLOW_NONE_AUTHENTICATION=yes
15-
- ETCD_ADVERTISE_CLIENT_URLS=http://etcd:2379
9+
healthcheck:
10+
test: ["CMD", "etcdctl", "endpoint", "health"] # The health check command
11+
interval: 5s
12+
timeout: 3s
13+
retries: 10
14+
start_period: 15s

basic/example_shop/go.mod

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
module example_shop
22

3-
go 1.21
4-
5-
toolchain go1.21.4
3+
go 1.22
64

75
replace github.com/apache/thrift => github.com/apache/thrift v0.13.0
86

97
require (
108
github.com/cloudwego/gopkg v0.1.8
11-
github.com/cloudwego/hertz v0.9.3
9+
github.com/cloudwego/hertz v0.9.6
1210
github.com/cloudwego/kitex v0.16.1
13-
github.com/cloudwego/kitex/pkg/protocol/bthrift v0.0.0-20241219022956-e15b7a1a61d2
14-
github.com/kitex-contrib/registry-etcd v0.2.5
11+
github.com/cloudwego/kitex/pkg/protocol/bthrift v0.0.0-20250926083420-b00f1323d7a3
12+
github.com/kitex-contrib/registry-etcd v0.2.6
1513
)
1614

1715
require (
1816
github.com/apache/thrift v0.16.0 // indirect
19-
github.com/bytedance/go-tagexpr/v2 v2.9.2 // indirect
2017
github.com/bytedance/gopkg v0.1.3 // indirect
2118
github.com/bytedance/sonic v1.15.0 // indirect
2219
github.com/bytedance/sonic/loader v0.5.0 // indirect
@@ -35,37 +32,49 @@ require (
3532
github.com/fatih/structtag v1.2.0 // indirect
3633
github.com/fsnotify/fsnotify v1.5.4 // indirect
3734
github.com/gogo/protobuf v1.3.2 // indirect
35+
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
3836
github.com/golang/protobuf v1.5.4 // indirect
3937
github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 // indirect
40-
github.com/henrylee2cn/ameda v1.4.10 // indirect
41-
github.com/henrylee2cn/goutil v0.0.0-20210127050712-89660552f6f8 // indirect
42-
github.com/iancoleman/strcase v0.2.0 // indirect
38+
github.com/gorilla/websocket v1.5.0 // indirect
39+
github.com/iancoleman/strcase v0.3.0 // indirect
4340
github.com/jhump/protoreflect v1.8.2 // indirect
4441
github.com/json-iterator/go v1.1.12 // indirect
4542
github.com/klauspost/cpuid/v2 v2.2.9 // indirect
43+
github.com/kr/pretty v0.3.1 // indirect
4644
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4745
github.com/modern-go/reflect2 v1.0.2 // indirect
4846
github.com/nyaruka/phonenumbers v1.0.55 // indirect
4947
github.com/pmezard/go-difflib v1.0.0 // indirect
48+
github.com/rogpeppe/go-internal v1.11.0 // indirect
5049
github.com/stretchr/testify v1.10.0 // indirect
51-
github.com/tidwall/gjson v1.17.3 // indirect
50+
github.com/tidwall/gjson v1.18.0 // indirect
5251
github.com/tidwall/match v1.1.1 // indirect
5352
github.com/tidwall/pretty v1.2.0 // indirect
5453
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
5554
go.etcd.io/etcd/api/v3 v3.5.12 // indirect
5655
go.etcd.io/etcd/client/pkg/v3 v3.5.12 // indirect
5756
go.etcd.io/etcd/client/v3 v3.5.12 // indirect
57+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect
58+
go.opentelemetry.io/otel v1.25.0 // indirect
59+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.25.0 // indirect
60+
go.opentelemetry.io/otel/sdk v1.25.0 // indirect
61+
go.uber.org/goleak v1.3.0 // indirect
5862
go.uber.org/multierr v1.11.0 // indirect
5963
go.uber.org/zap v1.26.0 // indirect
6064
golang.org/x/arch v0.14.0 // indirect
61-
golang.org/x/net v0.24.0 // indirect
62-
golang.org/x/sync v0.8.0 // indirect
65+
golang.org/x/crypto v0.31.0 // indirect
66+
golang.org/x/net v0.25.0 // indirect
67+
golang.org/x/sync v0.10.0 // indirect
6368
golang.org/x/sys v0.30.0 // indirect
64-
golang.org/x/text v0.14.0 // indirect
65-
google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a // indirect
66-
google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b // indirect
67-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b // indirect
68-
google.golang.org/grpc v1.59.0 // indirect
69-
google.golang.org/protobuf v1.33.0 // indirect
69+
golang.org/x/text v0.21.0 // indirect
70+
golang.org/x/time v0.5.0 // indirect
71+
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
72+
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
73+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
74+
google.golang.org/grpc v1.63.0 // indirect
75+
google.golang.org/protobuf v1.36.6 // indirect
76+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
77+
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
7078
gopkg.in/yaml.v3 v3.0.1 // indirect
79+
sigs.k8s.io/yaml v1.3.0 // indirect
7180
)

0 commit comments

Comments
 (0)