Skip to content

Commit 208d828

Browse files
authored
update golangci-lint (#598)
1 parent 58503bb commit 208d828

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: golangci/golangci-lint-action@v3
2121
with:
22-
version: v1.56.2
22+
version: v1.59.1
2323

2424
go-mod-tidy:
2525
runs-on: ubuntu-22.04

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ linters:
1414
- misspell
1515
- nilerr
1616
- prealloc
17+
- predeclared
1718
- revive
1819
- usestdlibvars
1920
- unconvert
21+
- tenv
2022
- tparallel
2123
- wastedassign
2224
- whitespace

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BASE_IMAGE = golang:1.22-alpine3.18
2-
LINT_IMAGE = golangci/golangci-lint:v1.56.2
2+
LINT_IMAGE = golangci/golangci-lint:v1.59.1
33

44
.PHONY: $(shell ls)
55

0 commit comments

Comments
 (0)