Skip to content

Commit

Permalink
fix: golangci-lint failures when tested against Go 1.20 (#457)
Browse files Browse the repository at this point in the history
fix: golangci-lint failed when tested against Go 1.20

Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
  • Loading branch information
rdimitrov authored Feb 7, 2023
1 parent f077110 commit 5a019c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 0 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 5a019c3

Please sign in to comment.