Skip to content

Commit 7b04505

Browse files
authored
[chore] Remove deprecated linters (#2039)
* [chore] Remove deprecated linters Linters varcheck and deadcode were deprecated since v1.49.0 because the owners have abandoned them. Both are replaced with unused, see details here golangci/golangci-lint#1841
1 parent 4969b78 commit 7b04505

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ jobs:
178178
message-id: test-summary
179179
# TODO: figure out if we need a token
180180
- name: Upload coverage to codecov
181+
if: always()
181182
uses: codecov/codecov-action@v3
182183

183184
race:

.golangci.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ run:
1212
linters:
1313
disable-all: true
1414
enable:
15-
- deadcode
1615
- goconst
1716
- goimports
1817
- gosimple
@@ -21,8 +20,7 @@ linters:
2120
- misspell
2221
# - staticcheck
2322
- unconvert
24-
# - unused
25-
- varcheck
23+
- unused
2624

2725
# - gosec
2826
# - errcheck

0 commit comments

Comments
 (0)