File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ kube::util::ensure_clean_working_dir
27
27
# This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
28
28
kube::golang::setup_env
29
29
30
- go install golang.org/x/vuln/cmd/govulncheck@v1.0.1
30
+ go install golang.org/x/vuln/cmd/govulncheck@v1.1.0
31
31
32
32
# KUBE_VERIFY_GIT_BRANCH is populated in verify CI jobs
33
33
BRANCH=" ${KUBE_VERIFY_GIT_BRANCH:- master} "
@@ -40,9 +40,9 @@ git worktree add -f "${WORKTREE}" "${BRANCH}"
40
40
# Clean up the copy on exit
41
41
kube::util::trap_add " git worktree remove -f ${WORKTREE} " EXIT
42
42
43
- govulncheck -scan module ./... > " ${KUBE_TEMP} /head.txt"
43
+ govulncheck -scan package ./... > " ${KUBE_TEMP} /head.txt" || true
44
44
pushd " ${WORKTREE} " > /dev/null
45
- govulncheck -scan module ./... > " ${KUBE_TEMP} /pr-base.txt"
45
+ govulncheck -scan package ./... > " ${KUBE_TEMP} /pr-base.txt" || true
46
46
popd > /dev/null
47
47
48
48
echo -e " \n HEAD: $( cat " ${KUBE_TEMP} " /head.txt) "
You can’t perform that action at this time.
0 commit comments