Skip to content

Commit cdf6277

Browse files
committed
chore: make lint happy
1 parent 9f8f327 commit cdf6277

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/pull.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
uses: actions/checkout@master
1515

1616
- name: golangci-lint
17-
uses: golangci/golangci-lint-action@master
17+
uses: golangci/golangci-lint-action@v6
1818
with:
1919
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
20-
version: latest
20+
version: v1.59.1
2121

2222
# Optional: working directory, useful for monorepos
2323
# working-directory: somedir

.golangci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ linters:
1818
fast: false
1919
enable:
2020
- bodyclose
21+
- copyloopvar
2122
#- depguard
2223
- dogsled
2324
- errcheck
24-
- exportloopref
25+
#- exportloopref
2526
- exhaustive
2627
#- funlen
2728
#- goconst

0 commit comments

Comments
 (0)