File tree 2 files changed +1
-5
lines changed
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 1
1
module github.com/marmotedu/iam
2
2
3
- go 1.18
3
+ go 1.21.4
4
4
5
5
require (
6
6
github.com/AlekSi/pointer v1.1.0
Original file line number Diff line number Diff line change 7
7
#
8
8
9
9
GO := go
10
- GO_SUPPORTED_VERSIONS ?= 1.13|1.14|1.15|1.16|1.17|1.18|1.19|1.20
11
10
GO_LDFLAGS += -X $(VERSION_PACKAGE ) .GitVersion=$(VERSION ) \
12
11
-X $(VERSION_PACKAGE ) .GitCommit=$(GIT_COMMIT ) \
13
12
-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
45
44
46
45
.PHONY : go.build.verify
47
46
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
51
47
52
48
.PHONY : go.build.%
53
49
go.build.% :
You can’t perform that action at this time.
0 commit comments