You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
goip/ .workflow/go.yml

28 lines
535 B

2 years ago
version: '1.0'
name: go
displayName: go
triggers:
trigger: auto
pr:
branches:
include:
- master
stages:
- name: compile
displayName: 编译
strategy: naturally
trigger: auto
steps:
- step: build@golang
2 years ago
name: Test
2 years ago
displayName: Golang 测试
golangVersion: '1.8'
commands:
- go env -w GO111MODULE=on
- go env -w GOPROXY=https://goproxy.cn,direct
- go test -v ./...
notify: []
permissions:
- role: admin
members: []