Skip to content
This repository was archived by the owner on Jun 12, 2026. It is now read-only.

Commit 90a2429

Browse files
lvan100lianghuan
authored andcommitted
chore(ci): GOEXPERIMENT=jsonv2
1 parent 8b055fb commit 90a2429

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v5
2222

23+
- name: Set Go environment variables
24+
run: |
25+
echo "Setting up Go environment variables"
26+
echo "GOEXPERIMENT=jsonv2" >> $GITHUB_ENV
27+
2328
- name: Install golangci-lint
2429
uses: golangci/golangci-lint-action@v7
2530
with:

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v5
2222

23+
- name: Set Go environment variables
24+
run: |
25+
echo "Setting up Go environment variables"
26+
echo "GOEXPERIMENT=jsonv2" >> $GITHUB_ENV
27+
2328
- name: Install dependencies
2429
run: go mod download
2530

0 commit comments

Comments
 (0)