provider-gitlab
provider-gitlab copied to clipboard
Build failed with go version go1.19.2
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
Just wanted to give you a heads-up that we updated to 1.18
in #63
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.