mirror of
https://github.com/rancher/cli.git
synced 2026-02-05 09:48:36 +01:00
Update build process
Problem: The cli is using an old go version It does not use all the validation tools rancher/rancher uses Solution: Update to go version 1.12.9 Include goimports for validation
This commit is contained in:
committed by
Craig Jellick
parent
8c5d6c3630
commit
a8000549ed
@@ -5,6 +5,4 @@ cd $(dirname $0)/..
|
||||
|
||||
echo Running tests
|
||||
|
||||
PACKAGES=". $(find -name '*.go' | xargs -I{} dirname {} | cut -f2 -d/ | sort -u | grep -Ev '(^\.$|.git|.trash-cache|vendor|bin)' | sed -e 's!^!./!' -e 's!$!/...!')"
|
||||
|
||||
go test -race -cover -tags=test ${PACKAGES}
|
||||
go test -race -cover -tags=test .././...
|
||||
|
||||
Reference in New Issue
Block a user