Skip to content

Commit 1544c10

Browse files
authored
Merge pull request kubernetes#124752 from ArkaSaha30/bump-govulncheck-1.1.0
Bump govulncheck version to 1.1.0
2 parents 52e4fbd + 2e0ce79 commit 1544c10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hack/verify-govulncheck.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ kube::util::ensure_clean_working_dir
2727
# This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
2828
kube::golang::setup_env
2929

30-
go install golang.org/x/vuln/cmd/govulncheck@v1.0.1
30+
go install golang.org/x/vuln/cmd/govulncheck@v1.1.0
3131

3232
# KUBE_VERIFY_GIT_BRANCH is populated in verify CI jobs
3333
BRANCH="${KUBE_VERIFY_GIT_BRANCH:-master}"
@@ -40,9 +40,9 @@ git worktree add -f "${WORKTREE}" "${BRANCH}"
4040
# Clean up the copy on exit
4141
kube::util::trap_add "git worktree remove -f ${WORKTREE}" EXIT
4242

43-
govulncheck -scan module ./... > "${KUBE_TEMP}/head.txt"
43+
govulncheck -scan package ./... > "${KUBE_TEMP}/head.txt" || true
4444
pushd "${WORKTREE}" >/dev/null
45-
govulncheck -scan module ./... > "${KUBE_TEMP}/pr-base.txt"
45+
govulncheck -scan package ./... > "${KUBE_TEMP}/pr-base.txt" || true
4646
popd >/dev/null
4747

4848
echo -e "\n HEAD: $(cat "${KUBE_TEMP}"/head.txt)"

0 commit comments

Comments
 (0)