#18194 Go coverage failure with Go v1.20
Issue created by
tdyas
The "coverage redesign" GOEXPERIMENT is enabled in Go v1.20 by default. This causes Pants to be unable to run test coverage since the Go backend has not yet been taught how to do coverage in the "new" way.
The workaround is to disable the "coverage redesign" experment by setting
GOEXPERIMENT=nocoverageredesign
whenever building Go code (and not just when invoking the test binary).
pantsbuild/pants