Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update sdk version #33

Merged
merged 34 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e9ef7a5
更新依赖版本
leyou240 Jul 30, 2024
5a75d44
更新依赖版本
leyou240 Jul 30, 2024
07f3898
更新依赖版本
leyou240 Jul 30, 2024
b64eb9b
更新依赖版本
leyou240 Jul 30, 2024
738cf47
更新依赖版本
leyou240 Jul 30, 2024
8ff163a
更新依赖版本
leyou240 Jul 30, 2024
5f877be
更新依赖版本
leyou240 Jul 30, 2024
6f6869c
更新依赖版本
leyou240 Jul 30, 2024
37fdc9b
更新依赖版本
leyou240 Jul 31, 2024
cee52be
更新依赖版本
leyou240 Jul 31, 2024
b26ad87
更新依赖版本
leyou240 Jul 31, 2024
097f2f8
更新依赖版本
leyou240 Jul 31, 2024
59cf667
修复单元测试
leyou240 Jul 31, 2024
5282c98
修复单元测试
leyou240 Jul 31, 2024
8d265cf
修复单元测试
leyou240 Jul 31, 2024
90e82ff
修复单元测试
leyou240 Jul 31, 2024
b51a338
修复单元测试
leyou240 Jul 31, 2024
014acd1
update v1 go.mod
leyou240 Jul 31, 2024
0ed898a
update v1 go.mod
leyou240 Jul 31, 2024
125f2ea
update go.mod use 1.18
leyou240 Jul 31, 2024
661283c
update go.mod
leyou240 Aug 1, 2024
b1763d9
update go.mod
leyou240 Aug 1, 2024
203fef8
update go.mod
leyou240 Aug 1, 2024
903a89b
update go.mod
leyou240 Aug 1, 2024
490cd19
try to fix package thrift is not int goroot
leyou240 Aug 2, 2024
79f2aac
try to fix package thrift is not int goroot
leyou240 Aug 2, 2024
d346d60
try to fix package thrift is not int goroot
leyou240 Aug 2, 2024
22c03e8
try to fix package thrift is not int goroot
leyou240 Aug 2, 2024
92edb65
fix
leyou240 Aug 2, 2024
9056cf7
try fix
leyou240 Aug 2, 2024
d70da1f
fix
leyou240 Aug 2, 2024
b8173b6
fix
leyou240 Aug 2, 2024
08d0c31
fix
leyou240 Aug 2, 2024
94097c6
gofumpt
leyou240 Aug 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions .github/workflows/push-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,51 @@ on: [ push, pull_request ]

jobs:
build:
strategy:
matrix:
go: [ 1.18.x,1.19.x,1.20.x,1.21.x,1.22.x]
runs-on: ubuntu-latest

services:
nacos:
image: 'nacos/nacos-server:2.0.3'
image: 'nacos/nacos-server:v2.4.0.1'
ports:
- '8848:8848'
- '9848:9848'
env:
MODE: standalone

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: ${{ matrix.go }}

- uses: actions/cache@v3
- name: Module cache
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go

- name: Check License Header
uses: apache/skywalking-eyes/header@v0.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: typos-action
uses: crate-ci/typos@v1.2.1

# - name: typos-action
# uses: crate-ci/typos@v1.2.1

- name: Benchmark
run: go test -bench=. -benchmem -run=none ./...

- name: Unit Test
run: make test
run: go test -race -covermode=atomic -coverprofile=coverage.out ./...
env:
serverAddr: 127.0.0.1
serverPort: 8848
Expand Down
57 changes: 54 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,63 @@
module github.com/kitex-contrib/registry-nacos

go 1.16
go 1.18

require (
github.com/apache/thrift v0.13.0
github.com/cloudwego/kitex v0.5.1
github.com/cloudwego/kitex v0.10.3
github.com/nacos-group/nacos-sdk-go v1.1.4
github.com/stretchr/testify v1.8.2
github.com/stretchr/testify v1.9.0
)

require (
github.com/aliyun/alibaba-cloud-sdk-go v1.61.18 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
github.com/bytedance/gopkg v0.0.0-20240514070511-01b2cbcf35e1 // indirect
github.com/bytedance/sonic v1.11.8 // indirect
github.com/bytedance/sonic/loader v0.1.1 // indirect
github.com/cloudwego/base64x v0.1.4 // indirect
github.com/cloudwego/configmanager v0.2.2 // indirect
github.com/cloudwego/dynamicgo v0.2.9 // indirect
github.com/cloudwego/fastpb v0.0.4 // indirect
github.com/cloudwego/frugal v0.1.15 // indirect
github.com/cloudwego/iasm v0.2.0 // indirect
github.com/cloudwego/localsession v0.0.2 // indirect
github.com/cloudwego/netpoll v0.6.3 // indirect
github.com/cloudwego/runtimex v0.1.0 // indirect
github.com/cloudwego/thriftgo v0.3.15 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/fatih/structtag v1.2.0 // indirect
github.com/go-errors/errors v1.0.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3 // indirect
github.com/iancoleman/strcase v0.2.0 // indirect
github.com/jhump/protoreflect v1.8.2 // indirect
github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/gls v0.0.0-20220109145502-612d0167dce5 // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/oleiade/lane v1.0.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/tidwall/gjson v1.9.3 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
go.uber.org/atomic v1.6.0 // indirect
go.uber.org/multierr v1.5.0 // indirect
go.uber.org/zap v1.15.0 // indirect
golang.org/x/arch v0.2.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/ini.v1 v1.42.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/apache/thrift => github.com/apache/thrift v0.13.0
Loading