Skip to content

Commit 5efc3f1

Browse files
committed
CI: update golangci-lint (1.49)
`varcheck`, `deadcode`, and `structcheck` are replaced by `unused` Signed-off-by: Akihiro Suda <[email protected]>
1 parent 796d949 commit 5efc3f1

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Run golangci-lint
2323
uses: golangci/golangci-lint-action@v3
2424
with:
25-
version: v1.48.0
25+
version: v1.49.0
2626
args: --verbose
2727
- name: Run yamllint
2828
run: yamllint .

.golangci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ run:
2222
linters:
2323
disable-all: true
2424
enable:
25-
- deadcode
2625
- depguard
2726
- gofmt
2827
- goimports
@@ -31,9 +30,7 @@ linters:
3130
- misspell
3231
- nakedret
3332
# - prealloc
34-
- structcheck
3533
- typecheck
36-
- varcheck
3734
# - asciicheck
3835
# - bodyclose
3936
# - dogsled
@@ -78,7 +75,7 @@ linters:
7875
# - tparallel
7976
# - unconvert
8077
# - unparam
81-
# - unused
78+
- unused
8279
# - whitespace
8380
# - wrapcheck
8481
# - wsl

0 commit comments

Comments
 (0)