@@ -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
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
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'
@@ -118,7 +118,7 @@ jobs:
118118 reactions : heart
119119 reactions-edit-mode : append
120120 unit-benchmark-test :
121- runs-on : ubuntu-latest
121+ runs-on : ubuntu-22.04
122122 steps :
123123 - uses : actions/checkout@v4
124124 - name : Set up Go
@@ -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