Skip to content

Commit ab784a4

Browse files
committed
make: remove redundant go version check
1 parent 049b099 commit ab784a4

File tree

2 files changed

+3
-37
lines changed

2 files changed

+3
-37
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
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
@@ -55,7 +52,7 @@ clean: clean-release-dir clean-debian clean-rpm
5552
#
5653

5754
.PHONY: binary
58-
binary: goversion
55+
binary:
5956
$(GOBUILD) $(LD_OPTS) -o $(BINARY_NAME)
6057

6158
.PHONY: build
@@ -70,7 +67,7 @@ lint:
7067
golangci-lint run
7168

7269
.PHONY: test
73-
test: goversion
70+
test:
7471
@$(GOTEST) $(LD_OPTS) ./...
7572

7673
.PHONY: func-tests
@@ -124,7 +121,7 @@ release: clean tarball
124121
#
125122

126123
.PHONY: platform-all
127-
platform-all: goversion clean
124+
platform-all: clean
128125
python3 .github/release.py run-build $(BINARY_NAME)
129126

130127
include mk/goversion.mk

mk/goversion.mk

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)