diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c181b29..201281b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ on: env: DESTDIR: ./bin - GO_VERSION: 1.18.5 + GO_VERSION: 1.20.3 jobs: validate: diff --git a/.golangci.yml b/.golangci.yml index 930e66a..902f7d5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,17 +6,14 @@ linters: enable: - gofmt - govet - - deadcode - depguard - goimports - ineffassign - misspell - unused - - varcheck - revive - staticcheck - typecheck - - structcheck disable-all: true linters-settings: diff --git a/Dockerfile b/Dockerfile index b57a05d..4143271 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.18.5 +ARG GO_VERSION=1.20.3 ARG XX_VERSION=1.2.1 ARG OSXCROSS_VERSION=11.3-r7-debian -ARG GOLANGCI_LINT_VERSION=v1.47.3 +ARG GOLANGCI_LINT_VERSION=v1.51.1 ARG DEBIAN_FRONTEND=noninteractive ARG PACKAGE=github.com/docker/docker-credential-helpers diff --git a/docker-bake.hcl b/docker-bake.hcl index 74c3097..f28ec46 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -1,5 +1,5 @@ variable "GO_VERSION" { - default = "1.18.5" + default = "1.20.3" } # Defines the output folder