We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff98fc4 commit 3f870efCopy full SHA for 3f870ef
3 files changed
.github/workflows/lint.yml
@@ -20,4 +20,4 @@ jobs:
20
- name: golangci-lint
21
uses: golangci/golangci-lint-action@v8
22
with:
23
- version: v2.1
+ version: v2.5
.golangci.yml
@@ -11,6 +11,11 @@ linters:
11
- misspell
12
- nakedret
13
- revive
14
+ - errcheck
15
+ - staticcheck
16
+ - govet
17
+ - ineffassign
18
+ - unused
19
exclusions:
generated: lax
presets:
script/lint
@@ -5,7 +5,7 @@ gofmt -s -w .
5
6
BINDIR="$(git rev-parse --show-toplevel)"/bin
7
BINARY=$BINDIR/golangci-lint
8
-GOLANGCI_LINT_VERSION=v2.2.1
+GOLANGCI_LINT_VERSION=v2.5.0
9
10
if [ ! -f "$BINARY" ]; then
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s "$GOLANGCI_LINT_VERSION"
0 commit comments