diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ce4dea6..18eef06 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,7 +6,7 @@ on: pull_request: env: - GO_VERSION: 1.22 + GO_VERSION: 1.24 jobs: lint: runs-on: ubuntu-latest @@ -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 diff --git a/.golangci.yml b/.golangci.yml index bda104b..ac1824c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,6 +1,6 @@ run: timeout: 10m - + linters: enable: - bodyclose @@ -11,3 +11,8 @@ linters: - misspell - unconvert - unparam + +linters-settings: + gosec: + excludes: + - G115 # G115: integer overflow conversion diff --git a/go.mod b/go.mod index b4c154f..eccedbf 100644 --- a/go.mod +++ b/go.mod @@ -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