From 4b9ce44b0460ac3c691114d67a653ff25a55a1b8 Mon Sep 17 00:00:00 2001 From: Mahesh Kagitha Date: Wed, 8 Jan 2025 13:15:02 -0600 Subject: [PATCH] run go mod tidy before vendored --- build/lib/go_mod_download.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/lib/go_mod_download.sh b/build/lib/go_mod_download.sh index 13ca51730e..3789563145 100755 --- a/build/lib/go_mod_download.sh +++ b/build/lib/go_mod_download.sh @@ -31,4 +31,5 @@ cd $REPO/$REPO_SUBPATH CACHE_KEY=$(echo $PROJECT_ROOT | sed 's/\(.*\)\//\1-/' | xargs basename) build::common::use_go_version $GOLANG_VERSION build::common::set_go_cache $CACHE_KEY $TAG +build::common::echo_and_run go mod tidy build::common::echo_and_run go mod vendor