Compare commits
2 commits
9b5ad472c7
...
463804fff7
Author | SHA1 | Date | |
---|---|---|---|
463804fff7 | |||
b958b0e8df |
1 changed files with 12 additions and 1 deletions
13
.drone.yml
13
.drone.yml
|
@ -2,6 +2,13 @@ kind: pipeline
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: test_draftbot
|
||||
image: golang
|
||||
commands:
|
||||
- cd ./draftbot
|
||||
- GOPROXY=https://modules.fromouter.space go mod download
|
||||
- CGO_ENABLED=0 go test .
|
||||
|
||||
- name: build_draftbot
|
||||
image: golang
|
||||
commands:
|
||||
|
@ -28,4 +35,8 @@ steps:
|
|||
event:
|
||||
- push
|
||||
- tag
|
||||
branch: master
|
||||
branch: master
|
||||
|
||||
volumes:
|
||||
- name: gopath
|
||||
temp: {}
|
Loading…
Reference in a new issue