mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
Merge pull request #5106 from mloiseleur/chore/go-1.24
chore: upgrade ExternalDNS to go 1.24
This commit is contained in:
commit
f09124c952
2
.github/workflows/lint.yaml
vendored
2
.github/workflows/lint.yaml
vendored
@ -44,7 +44,7 @@ jobs:
|
||||
with:
|
||||
verify: true
|
||||
args: --timeout=30m
|
||||
version: v1.63
|
||||
version: v1.64
|
||||
|
||||
# Run Spectral
|
||||
- name: Lint OpenAPI spec
|
||||
|
2
Makefile
2
Makefile
@ -37,7 +37,7 @@ endif
|
||||
|
||||
#? golangci-lint: Install golangci-lint tool
|
||||
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
|
||||
|
||||
#? golangci-lint-verify: Verify golangci-lint configuration
|
||||
golangci-lint-verify: golangci-lint
|
||||
|
@ -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
|
||||
|
@ -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/)
|
||||
|
2
go.mod
2
go.mod
@ -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
|
||||
|
@ -24,7 +24,7 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestzonesCache(t *testing.T) {
|
||||
func TestZonesCache(t *testing.T) {
|
||||
now := time.Now()
|
||||
zoneName := "example.com"
|
||||
var testCases = map[string]struct {
|
||||
|
Loading…
Reference in New Issue
Block a user