Use go install

This commit is contained in:
Abdul Rabbani 2022-04-21 18:14:43 -04:00
parent 8f62fa5b17
commit e2b58fcdd4
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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