mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
update
This commit is contained in:
parent
4f9a03ff42
commit
243a6e755b
1 changed files with 4 additions and 3 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
.golang-build-api:
|
.golang-build-api:
|
||||||
variables:
|
variables:
|
||||||
|
GO-VERSION: 1.20
|
||||||
#GOPROXY: https://nexus.durp.info/repository/go/
|
#GOPROXY: https://nexus.durp.info/repository/go/
|
||||||
image: registry.durp.info/golang:1.20
|
image: registry.durp.info/golang:${GO-VERSION}
|
||||||
script:
|
script:
|
||||||
- ./scripts/golang-build-api.sh
|
- ./scripts/golang-build-api.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -12,8 +13,8 @@
|
||||||
.golang-lint:
|
.golang-lint:
|
||||||
variables:
|
variables:
|
||||||
#GOPROXY: https://nexus.durp.info/repository/go/
|
#GOPROXY: https://nexus.durp.info/repository/go/
|
||||||
GOLANGCI-LING-VERISON: v1.55.2
|
GOLANGCI-LINT-VERISON: v1.55.2
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
image: registry.durp.info/golangci/golangci-lint:$GOLANGCI-LING-VERISON
|
image: registry.durp.info/golangci/golangci-lint:${GOLANGCI-LINT-VERISON}
|
||||||
script:
|
script:
|
||||||
- ./scripts/golang-lint.sh
|
- ./scripts/golang-lint.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue