Skip to content

Commit 29c7696

Browse files
authored
make: remove redundant go version check (#373)
1 parent 04a2f64 commit 29c7696

File tree

2 files changed

+3
-39
lines changed

2 files changed

+3
-39
lines changed

Makefile

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
BUILD_REQUIRE_GO_MAJOR ?= 1
2-
BUILD_REQUIRE_GO_MINOR ?= 20
3-
41
GO = go
52
GOBUILD = $(GO) build
63
GOTEST = $(GO) test
@@ -64,7 +61,7 @@ clean: clean-release-dir clean-debian clean-rpm
6461
#
6562

6663
.PHONY: binary
67-
binary: goversion
64+
binary:
6865
$(GOBUILD) $(LD_OPTS) -o $(BINARY_NAME)
6966

7067
.PHONY: build
@@ -79,7 +76,7 @@ lint:
7976
golangci-lint run
8077

8178
.PHONY: test
82-
test: goversion
79+
test:
8380
@$(GOTEST) $(LD_OPTS) ./...
8481

8582
.PHONY: func-tests
@@ -133,7 +130,5 @@ release: clean tarball
133130
#
134131

135132
.PHONY: platform-all
136-
platform-all: goversion clean
133+
platform-all: clean
137134
python3 .github/release.py run-build $(BINARY_NAME)
138-
139-
include mk/goversion.mk

mk/goversion.mk

-31
This file was deleted.

0 commit comments

Comments
 (0)