mirror of
https://github.com/rancher/rke.git
synced 2025-08-31 22:46:25 +00:00
fix golangci-lint's compatibility issue when using GO 1.19
This commit is contained in:
@@ -6,6 +6,7 @@ cd $(dirname $0)/..
|
|||||||
echo Running validation
|
echo Running validation
|
||||||
|
|
||||||
echo Running: golangci-lint
|
echo Running: golangci-lint
|
||||||
|
export "GOROOT=$(go env GOROOT)"
|
||||||
golangci-lint run
|
golangci-lint run
|
||||||
|
|
||||||
echo Tidying up modules
|
echo Tidying up modules
|
||||||
|
Reference in New Issue
Block a user