From 5a019c3b0722884ecd77b0923b74e135427ef949 Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Tue, 7 Feb 2023 19:48:26 +0200 Subject: [PATCH] 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 --- .github/workflows/tests.yml | 2 +- .golangci.yml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eecb152a..49851f59 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -66,5 +66,5 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 with: - version: v1.49 + 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 args: --timeout 5m --verbose diff --git a/.golangci.yml b/.golangci.yml index 570c05d6..992c1190 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,9 +1,3 @@ -run: - # Lint using Go 1.17, since some linters are disabled by default for Go 1.18 - # until generics are supported. - # See https://github.com/golangci/golangci-lint/issues/2649 - go: '1.17' - linters: disable-all: true enable: