Skip to content
Snippets Groups Projects
Commit 35f4c77c authored by Lyuben Penkovski's avatar Lyuben Penkovski
Browse files

Update Go version to 1.21.4

parent 5cc6fb2c
Branches
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ linters: ...@@ -14,7 +14,7 @@ linters:
- golangci-lint run - golangci-lint run
unit tests: unit tests:
image: golang:1.21.3 image: golang:1.21.4
stage: test stage: test
script: script:
- go version - go version
...@@ -23,7 +23,7 @@ unit tests: ...@@ -23,7 +23,7 @@ unit tests:
coverage: '/total:\s+\(statements\)\s+(\d+.\d+\%)/' coverage: '/total:\s+\(statements\)\s+(\d+.\d+\%)/'
govulncheck: govulncheck:
image: golang:1.21.3 image: golang:1.21.4
stage: test stage: test
script: script:
- go version - go version
......
stages:
- test
before_script:
- ln -s /builds /go/src/code.vereign.com
- cd /go/src/code.vereign.com/${CI_PROJECT_PATH}
lint:
image: golangci/golangci-lint:v1.46.2
stage: test
tags:
- amd64-docker
script:
- golangci-lint --version
- golangci-lint run
unit tests:
image: golang:1.17.10
stage: test
tags:
- amd64-docker
script:
- go version
- go test -race ./... -coverprofile=coverage.out
- go tool cover -func=coverage.out
FROM golang:1.21.3-alpine3.17 as builder FROM golang:1.21.4-alpine3.17 as builder
RUN apk add git RUN apk add git
......
FROM golang:1.21.3 FROM golang:1.21.4
RUN go install github.com/ysmood/kit/cmd/guard@v0.25.11 RUN go install github.com/ysmood/kit/cmd/guard@v0.25.11
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment