Skip to content

Commit 890ed25

Browse files
committed
refactor: bump go1.17.2 to go1.21.4
1 parent 6a8f18a commit 890ed25

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/marmotedu/iam
22

3-
go 1.18
3+
go 1.21.4
44

55
require (
66
github.com/AlekSi/pointer v1.1.0

scripts/make-rules/golang.mk

-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#
88

99
GO := go
10-
GO_SUPPORTED_VERSIONS ?= 1.13|1.14|1.15|1.16|1.17|1.18|1.19|1.20
1110
GO_LDFLAGS += -X $(VERSION_PACKAGE).GitVersion=$(VERSION) \
1211
-X $(VERSION_PACKAGE).GitCommit=$(GIT_COMMIT) \
1312
-X $(VERSION_PACKAGE).GitTreeState=$(GIT_TREE_STATE) \
@@ -45,9 +44,6 @@ EXCLUDE_TESTS=github.com/marmotedu/iam/test github.com/marmotedu/iam/pkg/log git
4544

4645
.PHONY: go.build.verify
4746
go.build.verify:
48-
ifneq ($(shell $(GO) version | grep -q -E '\bgo($(GO_SUPPORTED_VERSIONS))\b' && echo 0 || echo 1), 0)
49-
$(error unsupported go version. Please make install one of the following supported version: '$(GO_SUPPORTED_VERSIONS)')
50-
endif
5147

5248
.PHONY: go.build.%
5349
go.build.%:

0 commit comments

Comments
 (0)