Skip to content

Commit 64d4706

Browse files
authored
Update ci workflow to 0.1.18, which go version is 1.24 (#457)
* Update ci workflow to 0.1.18, which go version is 1.24 Signed-off-by: kerthcet <[email protected]> * Fix lint Signed-off-by: kerthcet <[email protected]> * Fix test Signed-off-by: kerthcet <[email protected]> --------- Signed-off-by: kerthcet <[email protected]>
1 parent 8ce838a commit 64d4706

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

.github/workflows/golang-workflow.yaml

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

99
jobs:
1010
golang-ci:
11-
uses: kerthcet/github-workflow-as-kube/.github/workflows/[email protected].13
11+
uses: kerthcet/github-workflow-as-kube/.github/workflows/[email protected].18

.github/workflows/kube-workflow-init.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ on:
55

66
jobs:
77
init:
8-
uses: kerthcet/github-workflow-as-kube/.github/workflows/[email protected].13
8+
uses: kerthcet/github-workflow-as-kube/.github/workflows/[email protected].18
99
secrets:
1010
AGENT_TOKEN: ${{ secrets.AGENT_TOKEN }}

.github/workflows/kube-workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ on:
1919

2020
jobs:
2121
event-handler:
22-
uses: kerthcet/github-workflow-as-kube/.github/workflows/[email protected].13
22+
uses: kerthcet/github-workflow-as-kube/.github/workflows/[email protected].18
2323
secrets:
2424
AGENT_TOKEN: ${{ secrets.AGENT_TOKEN }}

.golangci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ linters:
2525
enable:
2626
- dupl
2727
- errcheck
28-
- exportloopref
28+
- copyloopvar
2929
- goconst
3030
- gofmt
3131
- goimports

pkg/controller_helper/backendruntime/backendruntime_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ func TestBackendRuntimeParser_BasicFields(t *testing.T) {
207207
}
208208

209209
for _, tc := range testCases {
210-
tc := tc // capture range variable
211210
t.Run(tc.name, func(t *testing.T) {
212211
p := tc.parser
213212
if diff := cmp.Diff(tc.want.cmd, p.Command()); diff != "" {

0 commit comments

Comments
 (0)