Skip to content

Commit

Permalink
make: remove redundant go version check (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc authored Jul 18, 2024
1 parent 04a2f64 commit 29c7696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 39 deletions.
11 changes: 3 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
BUILD_REQUIRE_GO_MAJOR ?= 1
BUILD_REQUIRE_GO_MINOR ?= 20

GO = go
GOBUILD = $(GO) build
GOTEST = $(GO) test
Expand Down Expand Up @@ -64,7 +61,7 @@ clean: clean-release-dir clean-debian clean-rpm
#

.PHONY: binary
binary: goversion
binary:
$(GOBUILD) $(LD_OPTS) -o $(BINARY_NAME)

.PHONY: build
Expand All @@ -79,7 +76,7 @@ lint:
golangci-lint run

.PHONY: test
test: goversion
test:
@$(GOTEST) $(LD_OPTS) ./...

.PHONY: func-tests
Expand Down Expand Up @@ -133,7 +130,5 @@ release: clean tarball
#

.PHONY: platform-all
platform-all: goversion clean
platform-all: clean
python3 .github/release.py run-build $(BINARY_NAME)

include mk/goversion.mk
31 changes: 0 additions & 31 deletions mk/goversion.mk

This file was deleted.

0 comments on commit 29c7696

Please sign in to comment.