-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from leyou240/main
update sdk version
- Loading branch information
Showing
6 changed files
with
295 additions
and
882 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: typos-action | ||
uses: crate-ci/[email protected] | ||
|
||
# - name: typos-action | ||
# uses: crate-ci/[email protected] | ||
|
||
- 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.