We are currently using golang image with go version 1.22.0 in our CI.
errcheck is installed with go install github.com/kisielk/errcheck@latest and looks like it's failing as soon as go version was bumped. Pinning the image version to 1.21 fixed the problem.
Here are the error logs we got for errcheck ./... on go version 1.22.0
We are currently using golang image with go version 1.22.0 in our CI.
errcheck is installed with
go install github.com/kisielk/errcheck@latest
and looks like it's failing as soon as go version was bumped. Pinning the image version to1.21
fixed the problem.Here are the error logs we got for
errcheck ./...
on go version 1.22.0