From e2b58fcdd44c433d17c554d68f63abe7e786c86f Mon Sep 17 00:00:00 2001 From: Abdul Rabbani Date: Thu, 21 Apr 2022 18:14:43 -0400 Subject: [PATCH] Use go install --- .github/workflows/on-pr-manual.yml | 3 ++- Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-pr-manual.yml b/.github/workflows/on-pr-manual.yml index 8899f8c..1d5753c 100644 --- a/.github/workflows/on-pr-manual.yml +++ b/.github/workflows/on-pr-manual.yml @@ -65,5 +65,6 @@ jobs: run: | sleep 20 cd ipld-ethcl-indexer - go mod download + go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo + go get github.com/onsi/gomega/... make test diff --git a/Makefile b/Makefile index a2f0532..d4f10d7 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ PKGS = go list ./... | grep -v "^vendor/" ## Testing library GINKGO = $(BIN)/ginkgo $(BIN)/ginkgo: - go get -u github.com/onsi/ginkgo/ginkgo + go install github.com/onsi/ginkgo/ginkgo .PHONY: installtools