mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Change verify-govulncheck to new setup_env
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user