provider-gitlab icon indicating copy to clipboard operation
provider-gitlab copied to clipboard

Build failed with go version go1.19.2

Open IvanTurgenev1 opened this issue 2 years ago • 1 comments

What happened?

Build failed with go version go1.19.2 darwin/amd64

13:53:52 [ .. ] golangci-lint
WARN [runner] Can't run linter unused: buildir: failed to load package goarch: could not load export data: cannot import "internal/goarch" (unknown iexport format version 2), export data is newer version - update tool
ERRO Running error: buildir: failed to load package goarch: could not load export data: cannot import "internal/goarch" (unknown iexport format version 2), export data is newer version - update tool
13:53:56 [FAIL]

How can we reproduce it?

build with golang 1.19.2

What environment did it happen in?

Crossplane version: v1.9.1-stable Crossplane Provider GitLab version: 0.2.0

IvanTurgenev1 avatar Oct 05 '22 10:10 IvanTurgenev1

Just wanted to give you a heads-up that we updated to 1.18 in #63

janwillies avatar Oct 12 '22 09:10 janwillies

This issue is caused by an old version of golangci-lint that does not support Go 1.19. This will be fixed once we update to a newer version.

MisterMX avatar Jul 05 '23 13:07 MisterMX