From fd176e962e83f08c690343b49c16a9a28a6b0768 Mon Sep 17 00:00:00 2001 From: Tariq Ibrahim Date: Mon, 30 Dec 2024 19:00:56 -0800 Subject: [PATCH] bump the versions of various toolchain deps Signed-off-by: Tariq Ibrahim --- .github/workflows/ci.yaml | 8 ++++---- .golangci.yaml | 4 +--- Makefile | 6 +++--- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6cef2f6..2406a57 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.23.x - name: Check out code into the Go module directory uses: actions/checkout@v4 - name: Lint @@ -37,7 +37,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.23.x - name: Check out code into the Go module directory uses: actions/checkout@v4 - name: Run tests @@ -49,7 +49,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.23.x - name: Run go checks run: make go-check coverage: @@ -59,7 +59,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.23.x - name: Generate coverage report run: make cov-report - name: Upload to Coveralls diff --git a/.golangci.yaml b/.golangci.yaml index 107c376..49e58ad 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -36,8 +36,6 @@ linters: - errchkjson - errname #- errorlint - - execinquery - - exportloopref - forbidigo - forcetypeassert - funlen @@ -60,7 +58,7 @@ linters: - ineffassign - interfacebloat - lll - - logrlint + - loggercheck - maintidx - makezero - misspell diff --git a/Makefile b/Makefile index cd301bb..15d489e 100644 --- a/Makefile +++ b/Makefile @@ -41,9 +41,9 @@ TOOLSDIR=$(CURDIR)/bin GOLANGCILINT ?= $(TOOLSDIR)/golangci-lint CONTROLLER_GEN ?= $(TOOLSDIR)/controller-gen GCOV2LCOV ?= $(TOOLSDIR)/gcov2lcov -GOLANGCILINT_VERSION ?= v1.60.3 -CONTROLLER_GEN_VERSION ?= v0.16.1 -GCOV2LCOV_VERSION ?= v1.0.6 +GOLANGCILINT_VERSION ?= v1.62.2 +CONTROLLER_GEN_VERSION ?= v0.16.5 +GCOV2LCOV_VERSION ?= v1.1.1 # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) ifeq (,$(shell go env GOBIN))