ci: fix go 1.24 code coverage (#988)

This commit is contained in:
Levi authored and GitHub committed 2025-04-09 22:19:50 +08:00
1 parent 7705af6e68
commit 5afb3aa43b
1 file changed
+1 -1
+1 -1
View File
@@ -53,7 +53,7 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
- name: Run Unit tests.
run: go test $(go list ./... | grep -v /cmd/ | grep -v /bind/) -v -covermode=count -coverprofile=coverage.txt
run: go test -v -coverpkg=$(go list ./... | grep -v /cmd/ | grep -v /bind/ | paste -sd "," -) -covermode=count -coverprofile=coverage.txt $(go list ./... | grep -v /cmd/ | grep -v /bind/)
- uses: codecov/codecov-action@v4
with:
files: ./coverage.txt