Bump Go to v1.24, golangci-lint to v2.2

Signed-off-by: Nic Cope <nicc@rk0n.org>
This commit is contained in:
Nic Cope 2025-07-03 11:33:30 -07:00
parent ebceaacf21
commit d65515ca89
2 changed files with 3 additions and 5 deletions

View File

@ -3,7 +3,7 @@ VERSION --try --raw-output 0.8
PROJECT crossplane/crossplane-runtime
ARG --global GO_VERSION=1.23.7
ARG --global GO_VERSION=1.24.4
# reviewable checks that a branch is ready for review. Run it before opening a
# pull request. It will catch a lot of the things our CI workflow will catch.
@ -102,7 +102,7 @@ go-test:
# go-lint lints Go code.
go-lint:
ARG GOLANGCI_LINT_VERSION=v1.64.8
ARG GOLANGCI_LINT_VERSION=v2.2.1
FROM +go-modules
# This cache is private because golangci-lint doesn't support concurrent runs.
CACHE --id go-lint --sharing private /root/.cache/golangci-lint

4
go.mod
View File

@ -1,8 +1,6 @@
module github.com/crossplane/crossplane-runtime
go 1.23.0
toolchain go1.23.7
go 1.24.0
require (
dario.cat/mergo v1.0.1