From 79e9cb0b8eafc89fecba25f668254d09eabdf038 Mon Sep 17 00:00:00 2001 From: Dzianis Andreyenka Date: Tue, 23 Apr 2024 16:55:26 +0200 Subject: [PATCH] Move to the latest Mockery version Signed-off-by: Dzianis Andreyenka --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d9e274..952dc00 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,10 @@ GOBIN := $(shell $(VGO) env GOPATH)/bin LINT := $(GOBIN)/golangci-lint MOCKERY := $(GOBIN)/mockery +# Expect that FireFly compiles with CGO disabled +CGO_ENABLED=0 +GOGC=30 + .DELETE_ON_ERROR: all: build test go-mod-tidy @@ -15,7 +19,7 @@ coverage: test coverage.html lint: ${LINT} $(LINT) run -v --timeout 5m ${MOCKERY}: - $(VGO) install github.com/vektra/mockery/v2@v2.23.2 + $(VGO) install github.com/vektra/mockery/cmd/mockery@latest ${LINT}: $(VGO) install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 mockpaths: