Skip to content

Commit b47ea6f

Browse files
committed
ci: Work around go test -cover issue in Go 1.25
1 parent f33ddea commit b47ea6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/qa.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ jobs:
255255
# Print executed commands to ease debugging
256256
set -x
257257
258+
# Work around https://github.com/golang/go/issues/75031
259+
go env -w GOTOOLCHAIN="$(go version | awk '{ print $3 }')+auto"
260+
258261
# Overriding the default coverage directory is not an exported flag of go test (yet), so
259262
# we need to override it using the test.gocoverdir flag instead.
260263
#TODO: Update when https://go-review.googlesource.com/c/go/+/456595 is merged.

0 commit comments

Comments
 (0)