From 1b7fe3fca05399795f5c1652da40715ed82d22e6 Mon Sep 17 00:00:00 2001 From: Francesco Torta <62566275+fra98@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:39:36 +0200 Subject: [PATCH] Bump golangci-lint and gci --- .github/workflows/lint.yml | 4 ++-- .pre-commit-config.yaml | 2 +- Makefile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e06bb9a156..4c55b6286e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,10 +21,10 @@ jobs: cache: false - name: golangci-lint - uses: golangci/golangci-lint-action@v6.0.1 + uses: golangci/golangci-lint-action@v6.1.0 with: only-new-issues: true - version: v1.59.1 + version: v1.60.3 args: --timeout=900s gomodtidy: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 94479f5122..ec75d68e22 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/golangci/golangci-lint - rev: v1.59.1 + rev: v1.60.3 hooks: - id: golangci-lint name: golangci-lint diff --git a/Makefile b/Makefile index 75b0882000..fc81cd4e67 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ rbacs: controller-gen # Install gci if not available gci: ifeq (, $(shell which gci)) - @go install github.com/daixiang0/gci@v0.11.2 + @go install github.com/daixiang0/gci@v0.13.4 GCI=$(GOBIN)/gci else GCI=$(shell which gci) @@ -100,7 +100,7 @@ fmt: gci addlicense # Install golangci-lint if not available golangci-lint: ifeq (, $(shell which golangci-lint)) - @go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1 + @go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.3 GOLANGCILINT=$(GOBIN)/golangci-lint else GOLANGCILINT=$(shell which golangci-lint)