15 lines
268 B
YAML
15 lines
268 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: golang
|
|
commands:
|
|
- pwd && ls
|
|
- go env -w GO111MODULE=on
|
|
- go env -w GOPROXY=https://goproxy.cn,direct
|
|
- go mod init alidns && go mod tidy
|
|
- go build alidns.go
|
|
- go test
|