Skip to content

Commit a1ba624

Browse files
committed
chore: bump go version to 1.24
1 parent 704a604 commit a1ba624

25 files changed

Lines changed: 1410 additions & 553 deletions

.github/workflows/cicd-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
env:
88
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
99
BASE_BRANCH: origin/main
10-
GO_VERSION: "1.21"
10+
GO_VERSION: "1.24"
1111

1212
jobs:
1313
trigger-mode:
@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: Install golangci-lint
6363
run: |
64-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
64+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8
6565
6666
- name: make module
6767
run: |

.github/workflows/cicd-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
env:
1212
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
1313
BASE_BRANCH: origin/main
14-
GO_VERSION: "1.21"
14+
GO_VERSION: "1.24"
1515

1616
jobs:
1717
trigger-mode:
@@ -136,7 +136,7 @@ jobs:
136136

137137
- name: Install golangci-lint
138138
run: |
139-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
139+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8
140140
141141
- name: make module
142142
run: |

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
BASE_BRANCH: origin/main
11-
GO_VERSION: "1.21"
11+
GO_VERSION: "1.24"
1212

1313
jobs:
1414
trigger-mode:

.github/workflows/release-kbcli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
GH_TOKEN: ${{ github.token }}
1010
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
1111
TAG_NAME: ${{ github.ref_name }}
12-
GO_VERSION: "1.21"
12+
GO_VERSION: "1.24"
1313
CLI_NAME: 'kbcli'
1414
JIHULAB_KBCLI_PROJECT_ID: 85948
1515
JIHULAB_ACCESS_TOKEN: ${{ secrets.GITLAB_ACCESS_TOKEN }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ install-docker-buildx: ## Create `docker buildx` builder.
261261
fi
262262

263263
.PHONY: golangci
264-
golangci: GOLANGCILINT_VERSION = v1.55.2
264+
golangci: GOLANGCILINT_VERSION = v1.64.8
265265
golangci: ## Download golangci-lint locally if necessary.
266266
ifneq ($(shell which golangci-lint),)
267267
@echo golangci-lint is already installed

go.mod

Lines changed: 201 additions & 167 deletions
Large diffs are not rendered by default.

go.sum

Lines changed: 1168 additions & 349 deletions
Large diffs are not rendered by default.

pkg/action/exec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func (o *ExecOptions) RunWithRedirect(outWriter io.Writer, errWriter io.Writer)
166166
TTY: t.Raw,
167167
}, scheme.ParameterCodec)
168168

169-
return o.Executor.Execute("POST", req.URL(), o.Config, o.In, outWriter, errWriter, t.Raw, sizeQueue)
169+
return o.Executor.Execute(req.URL(), o.Config, o.In, outWriter, errWriter, t.Raw, sizeQueue)
170170
}
171171

172172
if err := t.Safe(fn); err != nil {
13 Bytes
Binary file not shown.
2 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)