Skip to content

Commit

Permalink
Fix go version used in .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cluttrdev committed Jan 26, 2024
1 parent 5e0c3f2 commit 69cc1f0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .gitlab/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ stages:
- build
- test

default:
image: golang:1.20
tags: [ $GITLAB_CI_DEFAULT_TAGS ]

variables:
CACHE_DIR: ${CI_PROJECT_DIR}/.cache
GOPATH: ${CI_PROJECT_DIR}/.go
GOCACHE: ${CACHE_DIR}/go-build
GOMAXPROCS: "8"
GOVERSION: "1.21"

default:
image: golang:${GOVERSION}
tags: [ $GITLAB_CI_DEFAULT_TAGS ]

download:
stage: .pre
Expand Down

0 comments on commit 69cc1f0

Please sign in to comment.