mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
chore: upgrade ExternalDNS to go 1.23
This commit is contained in:
parent
9fb831e97f
commit
50672d66b9
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.22.4'
|
go-version-file: go.mod
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
|
2
.github/workflows/codeql-analysis.yaml
vendored
2
.github/workflows/codeql-analysis.yaml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
- name: Install go version
|
- name: Install go version
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '^1.22.4'
|
go-version-file: go.mod
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
|
4
.github/workflows/docs.yaml
vendored
4
.github/workflows/docs.yaml
vendored
@ -25,10 +25,6 @@ jobs:
|
|||||||
cache: "pip"
|
cache: "pip"
|
||||||
cache-dependency-path: "./docs/scripts/requirements.txt"
|
cache-dependency-path: "./docs/scripts/requirements.txt"
|
||||||
|
|
||||||
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
|
|
||||||
with:
|
|
||||||
go-version-file: 'go.mod'
|
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
pip install -r docs/scripts/requirements.txt
|
pip install -r docs/scripts/requirements.txt
|
||||||
|
|
||||||
|
4
.github/workflows/lint.yaml
vendored
4
.github/workflows/lint.yaml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.22.4'
|
go-version-file: go.mod
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
@ -31,5 +31,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: |
|
run: |
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.57.2
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.60.1
|
||||||
make lint
|
make lint
|
||||||
|
2
.github/workflows/staging-image-tester.yaml
vendored
2
.github/workflows/staging-image-tester.yaml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.22.4'
|
go-version-file: go.mod
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
|
2
Makefile
2
Makefile
@ -41,7 +41,7 @@ CONTROLLER_GEN=$(shell which controller-gen)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
golangci-lint:
|
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.57.2
|
@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.60.1
|
||||||
|
|
||||||
# Run the golangci-lint tool
|
# Run the golangci-lint tool
|
||||||
.PHONY: go-lint
|
.PHONY: go-lint
|
||||||
|
@ -4,7 +4,7 @@ options:
|
|||||||
substitution_option: ALLOW_LOOSE
|
substitution_option: ALLOW_LOOSE
|
||||||
machineType: 'N1_HIGHCPU_8'
|
machineType: 'N1_HIGHCPU_8'
|
||||||
steps:
|
steps:
|
||||||
- name: 'docker.io/library/golang:1.22.4-bookworm'
|
- name: 'docker.io/library/golang:1.23-bookworm'
|
||||||
entrypoint: make
|
entrypoint: make
|
||||||
env:
|
env:
|
||||||
- VERSION=$_GIT_TAG
|
- VERSION=$_GIT_TAG
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Quick Start
|
# Quick Start
|
||||||
|
|
||||||
- [Git](https://git-scm.com/downloads)
|
- [Git](https://git-scm.com/downloads)
|
||||||
- [Go 1.22+](https://golang.org/dl/)
|
- [Go 1.23+](https://golang.org/dl/)
|
||||||
- [Go modules](https://github.com/golang/go/wiki/Modules)
|
- [Go modules](https://github.com/golang/go/wiki/Modules)
|
||||||
- [golangci-lint](https://github.com/golangci/golangci-lint)
|
- [golangci-lint](https://github.com/golangci/golangci-lint)
|
||||||
- [ko](https://ko.build/)
|
- [ko](https://ko.build/)
|
||||||
|
Loading…
Reference in New Issue
Block a user