Skip to content

Commit

Permalink
ci: bump golangci-lint to v1.53.x (#10659)
Browse files Browse the repository at this point in the history
Requires some changes for depguard config

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
  • Loading branch information
milas committed Jun 6, 2023
1 parent 629c9f6 commit be6c956
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .golangci.yml
Expand Up @@ -31,12 +31,11 @@ linters-settings:
- name: package-comments
disabled: true
depguard:
list-type: denylist
include-go-root: true
packages:
# The io/ioutil package has been deprecated.
# https://go.dev/doc/go1.16#ioutil
- io/ioutil
rules:
all:
deny:
- pkg: io/ioutil
desc: 'io/ioutil package has been deprecated'
gomodguard:
blocked:
versions:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -17,7 +17,7 @@

ARG GO_VERSION=1.20.4
ARG XX_VERSION=1.2.1
ARG GOLANGCI_LINT_VERSION=v1.52.2
ARG GOLANGCI_LINT_VERSION=v1.53.2
ARG ADDLICENSE_VERSION=v1.0.0

ARG BUILD_TAGS="e2e"
Expand Down

0 comments on commit be6c956

Please sign in to comment.