From be311aed1f4f5a7b554955cd06c6652064d8bcea Mon Sep 17 00:00:00 2001 From: Niladri Halder Date: Wed, 26 Jul 2023 01:58:08 +0000 Subject: [PATCH 1/2] fix(ci): remove 'go mod vendor' Signed-off-by: Niladri Halder --- Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index f9c1c3eb..67f72fb1 100644 --- a/Makefile +++ b/Makefile @@ -75,13 +75,7 @@ _build_check_docker: && exit 1; \ fi; - -mod: go.mod go.sum - @echo "INFO:\tVendor update" - @GO111MODULE=on go mod download - @GO111MODULE=on go mod vendor - -deps: _build_check_go _build_check_docker mod +deps: _build_check_go _build_check_docker @echo "INFO:\tVerifying dependencies for jiva" _run_ci: test_functional test_features test_resiliency From 6bf20745aed547d1dc1bdf6c61df16a59fb9ac5d Mon Sep 17 00:00:00 2001 From: Niladri Halder Date: Wed, 26 Jul 2023 02:02:25 +0000 Subject: [PATCH 2/2] fix(ci): run 'go mod tidy' before go build Signed-off-by: Niladri Halder --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 67f72fb1..2c745657 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,7 @@ _build_check_docker: deps: _build_check_go _build_check_docker @echo "INFO:\tVerifying dependencies for jiva" + go mod tidy _run_ci: test_functional test_features test_resiliency @echo "INFO:\tRun ci over jiva image"