-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: support go1.23 * update sonic * opt: recover to print more context * opt: make more panic msg * update mod * update ci * add go1.23 ci * fix: checkptr * remove all API docs onto go.dev * update
- Loading branch information
Showing
24 changed files
with
380 additions
and
5,351 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Go Latest | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [arm, X64] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Clear repository | ||
run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.22.4 | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: build go | ||
run: sh ./scripts/go_latest.sh go1.23 | ||
continue-on-error: true | ||
|
||
- name: test | ||
run: | | ||
PWD=$(pwd) | ||
export GOROOT=$PWD/go1.23 | ||
export PATH=$GOROOT/bin:$PATH | ||
go version | ||
go test -race github.com/cloudwego/dynamicgo/thrift | ||
go test -race github.com/cloudwego/dynamicgo/thrift/annotation | ||
go test -race github.com/cloudwego/dynamicgo/thrift/generic | ||
go test -race github.com/cloudwego/dynamicgo/conv/t2j | ||
go test -race github.com/cloudwego/dynamicgo/http | ||
go test -race github.com/cloudwego/dynamicgo/internal/json | ||
go test -race github.com/cloudwego/dynamicgo/conv/j2p | ||
go test -race github.com/cloudwego/dynamicgo/conv/p2j | ||
go test -race github.com/cloudwego/dynamicgo/proto/generic | ||
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.