From 8e0ee681524d178d0944f8f91cbdcafc84d1a06c Mon Sep 17 00:00:00 2001 From: dntosas Date: Tue, 19 Nov 2024 15:22:57 +0200 Subject: [PATCH] ci: bump golangci-lint to v1.62.0 Signed-off-by: dntosas --- .github/workflows/ci.yml | 12 +----------- Makefile | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d940e1c..d397ab66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,19 +32,9 @@ jobs: - name: Run go lint uses: golangci/golangci-lint-action@v6 with: - version: v1.59.1 + version: v1.62.0 args: --timeout 5m --enable revive,gofmt,copyloopvar --exclude-use-default=false --modules-download-mode=vendor --build-tags integration - name: Run go test run: make test - # - name: Upload coverage to Codecov - # uses: codecov/codecov-action@v4 - # with: - # token: ${{ secrets.CODECOV_TOKEN }} - # env_vars: GO - # fail_ci_if_error: true - # files: ./cover.out - # flags: unittests - # name: codecov-umbrella - # verbose: true diff --git a/Makefile b/Makefile index 3caaf021..767bc9a2 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ GROUP = $(shell id -g) PROJECT = "capi2argo-cluster-operator" GOBUILD_OPTS = -ldflags="-s -w -X ${PROJECT}/cmd.Version=${VERSION} -X ${PROJECT}/cmd.CommitHash=${COMMIT}" GO_IMAGE = "golang:1.23-alpine" -GO_IMAGE_CI = "golangci/golangci-lint:v1.59.1" +GO_IMAGE_CI = "golangci/golangci-lint:v1.62.0" DISTROLESS_IMAGE = "gcr.io/distroless/static:nonroot" IMAGE_TAG_BASE ?= "ghcr.io/dntosas/${PROJECT}"