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