diff --git a/.golangci.yml b/.golangci.yml index 902f7d51..14949eaf 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,12 +18,11 @@ linters: linters-settings: depguard: - list-type: blacklist - include-go-root: true - packages: - # The io/ioutil package has been deprecated. - # https://go.dev/doc/go1.16#ioutil - - io/ioutil + rules: + main: + deny: + - pkg: "io/ioutil" + desc: The io/ioutil package has been deprecated. See https://go.dev/doc/go1.16#ioutil issues: exclude-rules: diff --git a/Dockerfile b/Dockerfile index e026b062..555a54b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG GO_VERSION=1.20.6 ARG XX_VERSION=1.2.1 ARG OSXCROSS_VERSION=11.3-r7-debian -ARG GOLANGCI_LINT_VERSION=v1.51.1 +ARG GOLANGCI_LINT_VERSION=v1.55.2 ARG DEBIAN_FRONTEND=noninteractive ARG PACKAGE=github.com/docker/docker-credential-helpers