From 855fdc2810bbae2c26698f365b5a79edcb039278 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Thu, 18 May 2023 20:08:19 +0200 Subject: [PATCH] chore: update to latest Go version and golangci-lint --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 551833a..7bc890a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM golang:1.19 +FROM golang:1.20 RUN apt update && \ apt install -y python3 python3-pip ruby git && \ rm -rf /var/lib/apt/lists/* && \ go install github.com/lietu/go-pre-commit@latest && \ go install golang.org/x/tools/cmd/goimports@latest && \ - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 && \ + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.2 && \ pip install pre-commit