Skip to content

Commit a05991c

Browse files
authored
Update golang in workflow and golangci-lint version (#206)
* Update go version in workflow, and golangci-lint
1 parent c54a948 commit a05991c

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77

88
env:
9-
GO_VERSION: 1.22
9+
GO_VERSION: 1.24
1010
jobs:
1111
lint:
1212
runs-on: ubuntu-latest
@@ -19,7 +19,7 @@ jobs:
1919
- name: golangci-lint
2020
uses: golangci/golangci-lint-action@v6
2121
with:
22-
version: v1.56.2
22+
version: v1.64.5
2323
args: --out-format=colored-line-number
2424
test-linux:
2525
runs-on: ubuntu-latest

.golangci.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
timeout: 10m
3-
3+
44
linters:
55
enable:
66
- bodyclose
@@ -11,3 +11,8 @@ linters:
1111
- misspell
1212
- unconvert
1313
- unparam
14+
15+
linters-settings:
16+
gosec:
17+
excludes:
18+
- G115 # G115: integer overflow conversion

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/kube-vip/kube-vip-cloud-provider
22

3-
go 1.22
3+
go 1.23.1
44

55
require (
66
github.com/onsi/ginkgo/v2 v2.20.1

0 commit comments

Comments
 (0)