mirror of
https://github.com/securego/gosec.git
synced 2025-11-23 22:15:04 +02:00
Use the ginkgo command install by the dependencies
Change-Id: Ia8a28cd79a61fc8a95ac9a7700ad1a436874da6f Signed-off-by: Cosmin Cojocar <ccojocar@google.com>
This commit is contained in:
committed by
Cosmin Cojocar
parent
761fcbc36c
commit
f5a3b7ab78
3
Makefile
3
Makefile
@@ -14,7 +14,6 @@ GO := GO111MODULE=on go
|
|||||||
GOPATH ?= $(shell $(GO) env GOPATH)
|
GOPATH ?= $(shell $(GO) env GOPATH)
|
||||||
GOBIN ?= $(GOPATH)/bin
|
GOBIN ?= $(GOPATH)/bin
|
||||||
GOSEC ?= $(GOBIN)/gosec
|
GOSEC ?= $(GOBIN)/gosec
|
||||||
GINKGO ?= $(GOBIN)/ginkgo
|
|
||||||
GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
|
GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
|
||||||
GOVULN_MIN_VERSION = 17
|
GOVULN_MIN_VERSION = 17
|
||||||
GO_VERSION = 1.25
|
GO_VERSION = 1.25
|
||||||
@@ -32,7 +31,7 @@ install-govulncheck:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
test: build-race fmt vet sec govulncheck
|
test: build-race fmt vet sec govulncheck
|
||||||
$(GINKGO) -v --fail-fast
|
go run github.com/onsi/ginkgo/v2/ginkgo -- --ginkgo.v --ginkgo.fail-fast
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
@echo "FORMATTING"
|
@echo "FORMATTING"
|
||||||
|
|||||||
Reference in New Issue
Block a user