Skip to content

fix: didn't consider json.Marshaler/Unmarshal when handling json:",string" tag #530

fix: didn't consider json.Marshaler/Unmarshal when handling json:",string" tag

fix: didn't consider json.Marshaler/Unmarshal when handling json:",string" tag #530

name: Compatibility Test Windows-X64
on: pull_request
jobs:
build:
strategy:
matrix:
go-version: [1.17.x, 1.22.x]
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: main
run: |
set GOMAXPROCS=4
go test -v -race github.com/bytedance/sonic
- name: ast
run: |
set GOMAXPROCS=4
go test -v -race github.com/bytedance/sonic/ast
- name: external
run: |
cd ./external_jsonlib_test
set GOMAXPROCS=4
go test -v -race ./...