Compare commits
2 commits
9b5ad472c7
...
463804fff7
Author | SHA1 | Date | |
---|---|---|---|
463804fff7 | |||
b958b0e8df |
1 changed files with 12 additions and 1 deletions
11
.drone.yml
11
.drone.yml
|
@ -2,6 +2,13 @@ kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
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
|
- name: build_draftbot
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
|
@ -29,3 +36,7 @@ steps:
|
||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: gopath
|
||||||
|
temp: {}
|
Loading…
Reference in a new issue