This commit is contained in:
2023-11-25 07:46:27 -06:00
parent 4f9a03ff42
commit 243a6e755b

View File

@@ -1,7 +1,8 @@
.golang-build-api:
variables:
GO-VERSION: 1.20
#GOPROXY: https://nexus.durp.info/repository/go/
image: registry.durp.info/golang:1.20
image: registry.durp.info/golang:${GO-VERSION}
script:
- ./scripts/golang-build-api.sh
artifacts:
@@ -12,8 +13,8 @@
.golang-lint:
variables:
#GOPROXY: https://nexus.durp.info/repository/go/
GOLANGCI-LING-VERISON: v1.55.2
GOLANGCI-LINT-VERISON: v1.55.2
CGO_ENABLED: 0
image: registry.durp.info/golangci/golangci-lint:$GOLANGCI-LING-VERISON
image: registry.durp.info/golangci/golangci-lint:${GOLANGCI-LINT-VERISON}
script:
- ./scripts/golang-lint.sh