2 Commits

Author SHA1 Message Date
argoyle 855fdc2810 chore: update to latest Go version and golangci-lint 2023-05-18 20:08:19 +02:00
argoyle 940d8cb919 ci: use Docker DinD version from variable 2023-02-09 21:55:55 +01:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ image: buildtool/build-tools:${BUILDTOOLS_VERSION}
build: build:
stage: build stage: build
services: services:
- docker:dind - docker:${DOCKER_DIND_VERSION}
script: script:
- unset BUILDTOOLS_CONTENT - unset BUILDTOOLS_CONTENT
- build - build
+2 -2
View File
@@ -1,9 +1,9 @@
FROM golang:1.19 FROM golang:1.20
RUN apt update && \ RUN apt update && \
apt install -y python3 python3-pip ruby git && \ apt install -y python3 python3-pip ruby git && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
go install github.com/lietu/go-pre-commit@latest && \ go install github.com/lietu/go-pre-commit@latest && \
go install golang.org/x/tools/cmd/goimports@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 pip install pre-commit