Skip to content

Commit e090a81

Browse files
committed
feat: unit-benchmark-test use go version "1.25.6"
1 parent b07589a commit e090a81

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ jobs:
3232
# for module in $modules; do
3333
# echo "--------------------------------------------------"
3434
# echo "run unit test for ${module}"
35-
35+
3636
# cd ${module}
3737
# go test -race -coverprofile=./${COVERAGE_FILE} -gcflags="all=-l -N" -coverpkg=./... ./...
3838
# cd -
3939
# coverprofiles="${module}/${COVERAGE_FILE},$coverprofiles"
4040
# done
41-
41+
4242
# # Remove trailing comma from coverprofiles
4343
# coverprofiles=${coverprofiles%,}
44-
44+
4545
# echo "COVERAGE_PROFILES=$coverprofiles" >> $GITHUB_ENV
4646

4747
- name: Go test in go workspace
@@ -70,7 +70,7 @@ jobs:
7070
go test -race -coverprofile=coverage.out -gcflags="all=-l -N" -coverpkg=$coverpkg $list
7171
7272
echo "COVERAGE_PROFILES=$coverprofiles" >> $GITHUB_ENV
73-
73+
7474
- name: Download base.coverage for diff coverage rate
7575
id: download-base-coverage
7676
uses: actions/download-artifact@v4
@@ -86,7 +86,7 @@ jobs:
8686
config: ./.testcoverage.yml
8787
breakdown-file-name: ${{ github.ref_name == 'main' && env.BREAKDOWN_FILE || '' }}
8888
diff-base-breakdown-file-name: ${{ steps.download-base-coverage.outcome == 'success' && env.BREAKDOWN_FILE || '' }}
89-
89+
9090
- name: Upload base.coverage of main branch
9191
uses: actions/upload-artifact@v4
9292
if: github.ref_name == 'main'
@@ -124,7 +124,7 @@ jobs:
124124
- name: Set up Go
125125
uses: actions/setup-go@v5
126126
with:
127-
go-version: stable
127+
go-version: "1.25.6"
128128

129129
- name: Go BenchMark
130130
run: |
@@ -147,7 +147,7 @@ jobs:
147147
- uses: actions/checkout@v4
148148
with:
149149
fetch-depth: 0
150-
150+
151151
- name: Check modified files in submodules
152152
id: check-mods
153153
run: |

0 commit comments

Comments
 (0)