Skip to content

Commit bc172cc

Browse files
authored
✨ Upgrade Golang-CI from v2.2.2 to v2.3.0 (#4957)
Upgrade Golang-CI from v2.2.2 to v2.3.0
1 parent 2109798 commit bc172cc

File tree

14 files changed

+14
-14
lines changed

14 files changed

+14
-14
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Run linter
2727
uses: golangci/golangci-lint-action@v8
2828
with:
29-
version: v2.2.2
29+
version: v2.3.0
3030

3131
yamllint:
3232
runs-on: ubuntu-latest

docs/book/src/cronjob-tutorial/testdata/project/.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- name: Run linter
2121
uses: golangci/golangci-lint-action@v8
2222
with:
23-
version: v2.2.2
23+
version: v2.3.0

docs/book/src/cronjob-tutorial/testdata/project/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ CONTROLLER_TOOLS_VERSION ?= v0.18.0
195195
ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}')
196196
#ENVTEST_K8S_VERSION is the version of Kubernetes to use for setting up ENVTEST binaries (i.e. 1.31)
197197
ENVTEST_K8S_VERSION ?= $(shell go list -m -f "{{ .Version }}" k8s.io/api | awk -F'[v.]' '{printf "1.%d", $$3}')
198-
GOLANGCI_LINT_VERSION ?= v2.2.2
198+
GOLANGCI_LINT_VERSION ?= v2.3.0
199199

200200
.PHONY: kustomize
201201
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.

docs/book/src/getting-started/testdata/project/.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- name: Run linter
2121
uses: golangci/golangci-lint-action@v8
2222
with:
23-
version: v2.2.2
23+
version: v2.3.0

docs/book/src/getting-started/testdata/project/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ CONTROLLER_TOOLS_VERSION ?= v0.18.0
191191
ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}')
192192
#ENVTEST_K8S_VERSION is the version of Kubernetes to use for setting up ENVTEST binaries (i.e. 1.31)
193193
ENVTEST_K8S_VERSION ?= $(shell go list -m -f "{{ .Version }}" k8s.io/api | awk -F'[v.]' '{printf "1.%d", $$3}')
194-
GOLANGCI_LINT_VERSION ?= v2.2.2
194+
GOLANGCI_LINT_VERSION ?= v2.3.0
195195

196196
.PHONY: kustomize
197197
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.

docs/book/src/multiversion-tutorial/testdata/project/.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- name: Run linter
2121
uses: golangci/golangci-lint-action@v8
2222
with:
23-
version: v2.2.2
23+
version: v2.3.0

docs/book/src/multiversion-tutorial/testdata/project/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ CONTROLLER_TOOLS_VERSION ?= v0.18.0
195195
ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}')
196196
#ENVTEST_K8S_VERSION is the version of Kubernetes to use for setting up ENVTEST binaries (i.e. 1.31)
197197
ENVTEST_K8S_VERSION ?= $(shell go list -m -f "{{ .Version }}" k8s.io/api | awk -F'[v.]' '{printf "1.%d", $$3}')
198-
GOLANGCI_LINT_VERSION ?= v2.2.2
198+
GOLANGCI_LINT_VERSION ?= v2.3.0
199199

200200
.PHONY: kustomize
201201
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.

pkg/plugins/golang/v4/scaffolds/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import (
3939

4040
const (
4141
// GolangciLintVersion is the golangci-lint version to be used in the project
42-
GolangciLintVersion = "v2.2.2"
42+
GolangciLintVersion = "v2.3.0"
4343
// ControllerRuntimeVersion is the kubernetes-sigs/controller-runtime version to be used in the project
4444
ControllerRuntimeVersion = "v0.21.0"
4545
// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project

testdata/project-v4-multigroup/.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- name: Run linter
2121
uses: golangci/golangci-lint-action@v8
2222
with:
23-
version: v2.2.2
23+
version: v2.3.0

testdata/project-v4-multigroup/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ CONTROLLER_TOOLS_VERSION ?= v0.18.0
191191
ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}')
192192
#ENVTEST_K8S_VERSION is the version of Kubernetes to use for setting up ENVTEST binaries (i.e. 1.31)
193193
ENVTEST_K8S_VERSION ?= $(shell go list -m -f "{{ .Version }}" k8s.io/api | awk -F'[v.]' '{printf "1.%d", $$3}')
194-
GOLANGCI_LINT_VERSION ?= v2.2.2
194+
GOLANGCI_LINT_VERSION ?= v2.3.0
195195

196196
.PHONY: kustomize
197197
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.

0 commit comments

Comments
 (0)