Skip to content

Commit

Permalink
Update golang in workflow and golangci-lint version (#206)
Browse files Browse the repository at this point in the history
* Update go version in workflow, and golangci-lint
  • Loading branch information
lubronzhan authored Feb 21, 2025
1 parent c54a948 commit a05991c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:

env:
GO_VERSION: 1.22
GO_VERSION: 1.24
jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -19,7 +19,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.56.2
version: v1.64.5
args: --out-format=colored-line-number
test-linux:
runs-on: ubuntu-latest
Expand Down
7 changes: 6 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
run:
timeout: 10m

linters:
enable:
- bodyclose
Expand All @@ -11,3 +11,8 @@ linters:
- misspell
- unconvert
- unparam

linters-settings:
gosec:
excludes:
- G115 # G115: integer overflow conversion
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kube-vip/kube-vip-cloud-provider

go 1.22
go 1.23.1

require (
github.com/onsi/ginkgo/v2 v2.20.1
Expand Down

0 comments on commit a05991c

Please sign in to comment.