mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
Change verify-govulncheck to new setup_env
This commit is contained in:
parent
024f4e9c09
commit
cbc887a1d6
@ -25,9 +25,7 @@ source "${KUBE_ROOT}/hack/lib/util.sh"
|
||||
kube::util::ensure_clean_working_dir
|
||||
|
||||
# This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
|
||||
kube::golang::old::setup_env
|
||||
# Opt into using go modules
|
||||
export GO111MODULE=on
|
||||
kube::golang::new::setup_env
|
||||
|
||||
go install golang.org/x/vuln/cmd/govulncheck@v1.0.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user