Skip to content

Commit

Permalink
Merge pull request #858 from crazy-max/bump-go
Browse files Browse the repository at this point in the history
update to go 1.20
  • Loading branch information
crazy-max committed May 4, 2023
2 parents 934f7d3 + e29ba8f commit 2c1a48e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ run:

linters:
enable:
- deadcode
- depguard
- gofmt
- goimports
Expand All @@ -17,10 +16,10 @@ linters:
- ineffassign
- misspell
- typecheck
- varcheck
- errname
- makezero
- whitespace
- unused
disable-all: true

linters-settings:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.19"
ARG GO_VERSION="1.20"
ARG ALPINE_VERSION="3.17"
ARG XX_VERSION="1.1.2"

Expand Down
2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variable "GO_VERSION" {
default = "1.19"
default = null
}

variable "DESTDIR" {
Expand Down
2 changes: 1 addition & 1 deletion hack/gen.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.19"
ARG GO_VERSION="1.20"
ARG PROTOC_VERSION="3.17.3"

# protoc is dynamically linked to glibc so can't use alpine base
Expand Down
4 changes: 2 additions & 2 deletions hack/lint.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.19"
ARG GOLANGCI_LINT_VERSION="v1.48"
ARG GO_VERSION="1.20"
ARG GOLANGCI_LINT_VERSION="v1.51"

FROM golang:${GO_VERSION}-alpine AS base
ENV GOFLAGS="-buildvcs=false"
Expand Down
2 changes: 1 addition & 1 deletion hack/vendor.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.19"
ARG GO_VERSION="1.20"
ARG GOMOD_OUTDATED_VERSION="v0.8.0"

FROM golang:${GO_VERSION}-alpine AS base
Expand Down

0 comments on commit 2c1a48e

Please sign in to comment.