diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index febc8435..ec354c99 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -25,7 +25,7 @@ jobs: uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 with: only-new-issues: true - version: v1.55 + version: v1.62.2 args: --timeout=900s gomodtidy: diff --git a/.golangci.yml b/.golangci.yml index f30a7ca4..a0058697 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -44,13 +44,8 @@ linters-settings: - opinionated - performance - style - disabled-checks: - # Conflicts with govet check-shadowing - - sloppyReassign goimports: local-prefixes: github.com/falcosecurity/falcoctl - govet: - check-shadowing: true misspell: locale: US nolintlint: @@ -71,7 +66,7 @@ linters: - errcheck - errorlint - exhaustive - - exportloopref + - copyloopvar # - funlen # - gochecknoglobals # - gochecknoinits diff --git a/Makefile b/Makefile index 74bea7e2..5d87aa3e 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ fmt: gci addlicense .PHONY: golangci-lint golangci-lint: ifeq (, $(shell which golangci-lint)) - @go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2 + @go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2 GOLANGCILINT=$(GOBIN)/golangci-lint else GOLANGCILINT=$(shell which golangci-lint)