Skip to content

Commit

Permalink
bump go1.23 (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
enrichman authored Jan 21, 2025
1 parent d4368da commit f9b3d62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
- name: Install tools
run: |
go install github.com/onsi/ginkgo/v2/ginkgo
# With Golang 1.22 we need to use the release-0.18 branch
go install sigs.k8s.io/controller-runtime/tools/[email protected]
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
ENVTEST_BIN=$(setup-envtest use -p path)
sudo mkdir -p /usr/local/kubebuilder/bin
Expand Down
6 changes: 2 additions & 4 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GOLANG=rancher/hardened-build-base:v1.22.2b1
ARG GOLANG=rancher/hardened-build-base:v1.23.4b1
FROM ${GOLANG}

ARG DAPPER_HOST_ARCH
Expand All @@ -17,9 +17,7 @@ ENV CONTROLLER_GEN_VERSION v0.14.0
RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@${CONTROLLER_GEN_VERSION}

# Tool to setup the envtest framework to run the controllers integration tests
# Note: With Golang 1.22 we need to use the release-0.18 branch
ENV SETUP_ENVTEST_VERSION release-0.18
RUN go install sigs.k8s.io/controller-runtime/tools/setup-envtest@${SETUP_ENVTEST_VERSION} && \
RUN go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest && \
ENVTEST_BIN=$(setup-envtest use -p path) && \
mkdir -p /usr/local/kubebuilder/bin && \
cp $ENVTEST_BIN/* /usr/local/kubebuilder/bin
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/rancher/k3k

go 1.22.7
go 1.23.4

replace (
github.com/google/cel-go => github.com/google/cel-go v0.17.7
Expand Down

0 comments on commit f9b3d62

Please sign in to comment.