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