Skip to content

Commit

Permalink
Bump golangci-lint and gci
Browse files Browse the repository at this point in the history
  • Loading branch information
fra98 authored and adamjensenbot committed Aug 28, 2024
1 parent bc41421 commit 1b7fe3f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 1b7fe3f

Please sign in to comment.