Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: Force amd64 ARCH for Windows golangci-lint runs
Trying to run `make cross-lint` on a M1 mac results in: % GOOS=windows /Users/teuf/dev/crc/tools/bin/golangci-lint run WARN [runner] Can't run linter goanalysis_metalinter: buildir: failed to load package w32uiautomation: could not load export data: no export data for "github.com/openstandia/w32uiautomation" ERRO Running error: 1 error occurred: * can't run linter goanalysis_metalinter: buildir: failed to load package w32uiautomation: could not load export data: no export data for "github.com/openstandia/w32uiautomation" Not exactly clear what's happening, but Windows on arm64 is not a thing, and forcing GOARCH to amd64 avoids this issue, so this commit does that.
- Loading branch information