Skip to content

Commit cfd9e52

Browse files
committed
upgrade golangci-lint
1 parent 0f49e28 commit cfd9e52

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
git fetch
4545
4646
# Install golangci-lint
47-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2
47+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.2
4848
4949
- name: Build
5050
run: scripts/build.sh

.golangci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ linters:
1313
disable-all: true
1414
enable:
1515
- bodyclose
16-
- deadcode
1716
- depguard
1817
- dogsled
1918
- dupl
@@ -36,12 +35,10 @@ linters:
3635
- nolintlint
3736
- rowserrcheck
3837
- staticcheck
39-
- structcheck
4038
- stylecheck
4139
- unconvert
4240
- unparam
4341
- unused
44-
- varcheck
4542
- whitespace
4643
- asciicheck
4744
- gocognit

0 commit comments

Comments
 (0)