From 61674935be88be0fd4dfc551c1fcfa70381891a9 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Thu, 6 Apr 2023 10:29:30 +0200 Subject: [PATCH] ci: update to Go 1.20.3 and golangci-lint 1.52.2 --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bdc185c..baaec96 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ image: buildtool/build-tools:${BUILDTOOLS_VERSION} run-pre-commit: stage: .pre - image: golang:1.19 + image: golang:1.20.3 variables: PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit cache: @@ -23,7 +23,7 @@ run-pre-commit: before_script: - apt update && apt install -y python3 python3-pip ruby git - go install github.com/lietu/go-pre-commit@latest - - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0 + - 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 script: - pre-commit run --all-files