chore: update to latest Go version and golangci-lint
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user