From 4d76367a3b9e4306492ef1f302871226dc967022 Mon Sep 17 00:00:00 2001 From: Matt Dale <9760375+matthewdale@users.noreply.github.com> Date: Fri, 26 Sep 2025 11:42:16 -0700 Subject: [PATCH] Update govulncheck Go version and mark the command as type 'test'. (#2208) --- .evergreen/config.yml | 1 + etc/govulncheck.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 5c92a25e7e..0e6cbea29f 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -642,6 +642,7 @@ tasks: tags: ["static-analysis"] commands: - command: subprocess.exec + type: test params: binary: bash args: [*task-runner, govulncheck] diff --git a/etc/govulncheck.sh b/etc/govulncheck.sh index 055467d20a..23988f9df2 100755 --- a/etc/govulncheck.sh +++ b/etc/govulncheck.sh @@ -7,7 +7,7 @@ set -ex # Note: this needs to be updated if the listed Go version has vulnerabilities # discovered because they will show up in the scan results along with Go Driver # and dependency vulnerabilities. -GO_VERSION=1.24.5 +GO_VERSION=1.25.1 go install golang.org/dl/go$GO_VERSION@latest go${GO_VERSION} download