Skip to content

Commit 79ee304

Browse files
committed
chore: update enumer to a version that fixes Go 1.24 compatibility
Go back to upstream releases after dmarkham/enumer#105 has been fixed Signed-off-by: Dmitrii Sharshakov <[email protected]>
1 parent 46d67fe commit 79ee304

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ ARG STRINGER_VERSION
222222
RUN --mount=type=cache,target=/.cache go install golang.org/x/tools/cmd/stringer@${STRINGER_VERSION} \
223223
&& mv /root/go/bin/stringer /usr/bin/stringer
224224
ARG ENUMER_VERSION
225-
RUN --mount=type=cache,target=/.cache go install github.com/dsseng/enumer@${ENUMER_VERSION} \
225+
RUN --mount=type=cache,target=/.cache go install github.com/dmarkham/enumer@${ENUMER_VERSION} \
226226
&& mv /root/go/bin/enumer /usr/bin/enumer
227227
ARG DEEPCOPY_GEN_VERSION
228228
RUN --mount=type=cache,target=/.cache go install k8s.io/code-generator/cmd/deepcopy-gen@${DEEPCOPY_GEN_VERSION} \

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ GOLANGCILINT_VERSION ?= v1.62.2
7777
# renovate: datasource=go depName=golang.org/x/tools
7878
STRINGER_VERSION ?= v0.28.0
7979
# renovate: datasource=go depName=github.com/dmarkham/enumer
80-
# FIXME: https://github.com/dmarkham/enumer/issues/105
81-
ENUMER_VERSION ?= v1.5.11-0.20250217145611-d1015c2bde3f
80+
ENUMER_VERSION ?= v1.5.11
8281
# renovate: datasource=go depName=k8s.io/code-generator
8382
DEEPCOPY_GEN_VERSION ?= v0.32.0
8483
# renovate: datasource=go depName=github.com/planetscale/vtprotobuf

0 commit comments

Comments
 (0)