mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +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
|
kube::util::ensure_clean_working_dir
|
||||||
|
|
||||||
# This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
|
# This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
|
||||||
kube::golang::old::setup_env
|
kube::golang::new::setup_env
|
||||||
# Opt into using go modules
|
|
||||||
export GO111MODULE=on
|
|
||||||
|
|
||||||
go install golang.org/x/vuln/cmd/govulncheck@v1.0.1
|
go install golang.org/x/vuln/cmd/govulncheck@v1.0.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user