Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

Commit 115a06e

Browse files
authored
update linter (#237)
1 parent da8ae6c commit 115a06e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
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.61.0
22+
version: v1.64.5
2323

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

.golangci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ linters:
33
- asciicheck
44
- bidichk
55
- bodyclose
6+
#- contextcheck
7+
- copyloopvar
68
- dupl
79
- errorlint
8-
- exportloopref
910
- gochecknoinits
1011
- gocritic
1112
- gofmt
@@ -18,7 +19,7 @@ linters:
1819
- revive
1920
- usestdlibvars
2021
- unconvert
21-
- tenv
22+
#- usetesting
2223
- tparallel
2324
- wastedassign
2425
- 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.23-alpine3.20
2-
LINT_IMAGE = golangci/golangci-lint:v1.61.0
2+
LINT_IMAGE = golangci/golangci-lint:v1.64.5
33

44
.PHONY: $(shell ls)
55

0 commit comments

Comments
 (0)