Skip to content

Commit

Permalink
Use go.mod ginkgo version
Browse files Browse the repository at this point in the history
In the Makefile we try to install a hardcoded ginkgo version.

This commit uses the ginkgo version in the go.mod file instead.

Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
  • Loading branch information
frelon committed Feb 12, 2024
1 parent f07a038 commit b43bf7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ CONTROLLER_GEN_VER := v0.9.2
CONTROLLER_GEN := $(ABS_TOOLS_DIR)/controller-gen-$(CONTROLLER_GEN_VER)
CONTROLLER_GEN_PKG := sigs.k8s.io/controller-tools/cmd/controller-gen

GINKGO_VER := v2.3.1
GINKGO_VER := $(shell go list -m github.com/onsi/ginkgo/v2 | awk '{print $$2}')
GINKGO := $(ABS_TOOLS_DIR)/ginkgo-$(GINKGO_VER)
GINKGO_PKG := github.com/onsi/ginkgo/v2/ginkgo

Expand Down

0 comments on commit b43bf7b

Please sign in to comment.