From 4f424bb3a2edce4f5ea982a14ee9032740a451f2 Mon Sep 17 00:00:00 2001 From: Daniele Santos Date: Tue, 25 May 2021 15:29:54 -0400 Subject: [PATCH] adds back go mod make commands --- .github/workflows/ci.yml | 4 +++- Makefile | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4f0e07e..51d1d3a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,8 @@ jobs: - name: Install kubectl run: sudo snap install kubectl --classic - name: Install kind - run: go get sigs.k8s.io/kind + run: GO111MODULE=on go get sigs.k8s.io/kind + - name: Go mod download and go tidy + run: make setup - name: Run tests run: make test diff --git a/Makefile b/Makefile index a0a60042..75002c65 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,10 @@ test-teardown: show-coverage: test go tool cover -html=coverage.txt +setup: + $(GOMOD) download + $(GOMOD) tidy + clean: $(GOCLEAN) rm -f $(BINARY_NAME)