chore: upgrade ExternalDNS to go 1.24

This commit is contained in:
Michel Loiseleur 2025-02-19 14:54:44 +01:00
parent e7ff1c9c44
commit 959651c336
5 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@ jobs:
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=30m
version: v1.63
version: v1.64
# Run Spectral
- name: Lint OpenAPI spec

View File

@ -41,7 +41,7 @@ CONTROLLER_GEN=$(shell which controller-gen)
endif
golangci-lint:
@command -v golangci-lint > /dev/null || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.63.4
@command -v golangci-lint > /dev/null || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.5
# Run the golangci-lint tool
.PHONY: go-lint

View File

@ -4,7 +4,7 @@ options:
substitution_option: ALLOW_LOOSE
machineType: 'N1_HIGHCPU_8'
steps:
- name: 'docker.io/library/golang:1.23-bookworm'
- name: 'docker.io/library/golang:1.24-bookworm'
entrypoint: make
env:
- VERSION=$_GIT_TAG

View File

@ -7,7 +7,7 @@ The `external-dns` is the work of thousands of contributors, and is maintained b
Building and/or testing `external-dns` requires additional tooling.
- [Git](https://git-scm.com/downloads)
- [Go 1.23+](https://golang.org/dl/)
- [Go 1.24+](https://golang.org/dl/)
- [Go modules](https://github.com/golang/go/wiki/Modules)
- [golangci-lint](https://github.com/golangci/golangci-lint)
- [ko](https://ko.build/)
@ -229,4 +229,4 @@ Install required dependencies. In order to not to break system packages, we are
mkdocs serve
$$ ...
$$ Serving on http://127.0.0.1:8000/
```
```

2
go.mod
View File

@ -1,6 +1,6 @@
module sigs.k8s.io/external-dns
go 1.23.5
go 1.24.0
require (
cloud.google.com/go/compute/metadata v0.6.0