File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3838 # 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
3939 # When adding new go version to the list, make sure:
4040 # 1. Update the `LATEST_GO_VERSION` env variable.
41- # 2. Update the `Report Coverage` action.
4241 # 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
4342 go-version : [ "1.23", "1.24", "1.25" ]
4443 goarch : [ "386", "amd64" ]
@@ -263,8 +262,8 @@ jobs:
263262
264263 - name : Report Coverage
265264 uses : codecov/codecov-action@v4
266- # Only report coverage on the latest go version and amd64 arch
267- if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == '1.23' && matrix.goarch == 'amd64' }}
265+ # Only report coverage on the latest go version
266+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == env.LATEST_GO_VERSION }}
268267 with :
269268 flags : go-${{ matrix.go-version }}-${{ matrix.goarch }}
270269 token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ concurrency:
3030env :
3131 TZ : " Asia/Shanghai"
3232 # for unit testing cases of some components that only execute on the latest go version.
33- LATEST_GO_VERSION : " 1.24 "
33+ LATEST_GO_VERSION : " 1.25 "
3434
3535jobs :
3636 code-test :
You can’t perform that action at this time.
0 commit comments