Commit 6a85fe3a authored by Chunchi Che's avatar Chunchi Che

fix gitlab-ci.yml

parent 935170a1
Pipeline #17192 passed with stages
in 41 seconds
stages:
- setup
- test
- build
- deploy
go_setup:
stage: setup
tags:
- linux
script:
- wget https://go.dev/dl/go1.17.6.linux-amd64.tar.gz
- tar -xzf go1.17.6.linux-amd64.tar.gz
- export PATH=$PATH:$(pwd)/go/bin
- go version
before_script:
- wget https://go.dev/dl/go1.17.6.linux-amd64.tar.gz
- tar -xzf go1.17.6.linux-amd64.tar.gz
- export PATH=$PATH:$(pwd)/go/bin
- go version
go_test:
stage: test
tags:
- linux
script: go test
dependencies:
- go_setup
go_build:
stage: build
tags:
- linux
script: go build
dependencies:
- go_setup
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment