Skip to content

Commit

Permalink
makefile: use the same ginkgo version that is in go.mod
Browse files Browse the repository at this point in the history
Signed-off-by: Andrej Krejcir <[email protected]>
  • Loading branch information
akrejcir committed Nov 13, 2024
1 parent 9c0734a commit c77e870
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ unittest: generate lint fmt vet manifests metrics-rules-test lint-monitoring
build-functests:
go test -c ./tests

GINKGO_VERSION ?= v2.17.1
GOMOD_PATH ?= ./go.mod
GINKGO_VERSION ?= $(shell grep -E '^\s*github\.com/onsi/ginkgo/v[0-9]+' $(GOMOD_PATH) | awk '{print $$2}')
GINKGO_TIMEOUT ?= 2h

.PHONY: ginkgo
Expand Down

0 comments on commit c77e870

Please sign in to comment.