update linter (#711)

This commit is contained in:
Alessandro Ros
2025-03-01 11:33:40 +01:00
committed by GitHub
parent 17ee46e238
commit 9c70b4192f
3 changed files with 5 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ jobs:
- uses: golangci/golangci-lint-action@v3 - uses: golangci/golangci-lint-action@v3
with: with:
version: v1.61.0 version: v1.64.5
go-mod-tidy: go-mod-tidy:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04

View File

@@ -3,9 +3,10 @@ linters:
- asciicheck - asciicheck
- bidichk - bidichk
- bodyclose - bodyclose
#- contextcheck
- copyloopvar
- dupl - dupl
- errorlint - errorlint
- exportloopref
- gochecknoinits - gochecknoinits
- gocritic - gocritic
- gofmt - gofmt
@@ -18,7 +19,7 @@ linters:
- revive - revive
- usestdlibvars - usestdlibvars
- unconvert - unconvert
- tenv #- usetesting
- tparallel - tparallel
- wastedassign - wastedassign
- whitespace - whitespace

View File

@@ -1,5 +1,5 @@
BASE_IMAGE = golang:1.23-alpine3.20 BASE_IMAGE = golang:1.23-alpine3.20
LINT_IMAGE = golangci/golangci-lint:v1.61.0 LINT_IMAGE = golangci/golangci-lint:v1.64.5
.PHONY: $(shell ls) .PHONY: $(shell ls)