Skip to content

Commit 5a019c3

Browse files
authored
fix: golangci-lint failures when tested against Go 1.20 (#457)
fix: golangci-lint failed when tested against Go 1.20 Signed-off-by: Radoslav Dimitrov <[email protected]>
1 parent f077110 commit 5a019c3

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ jobs:
6666
- name: golangci-lint
6767
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5
6868
with:
69-
version: v1.49
69+
version: v1.51 # has to be pinned and thus manually updated due to https://github.com/golangci/golangci-lint-action/blob/6a290f7d5d488e1e423b0b37fe802c822ca2c08c/README.md?plain=1#L108
7070
args: --timeout 5m --verbose

.golangci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
run:
2-
# Lint using Go 1.17, since some linters are disabled by default for Go 1.18
3-
# until generics are supported.
4-
# See https://github.com/golangci/golangci-lint/issues/2649
5-
go: '1.17'
6-
71
linters:
82
disable-all: true
93
enable:

0 commit comments

Comments
 (0)