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