Actually use gomod
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Hamcha 2019-06-27 14:17:23 +02:00
parent d5a7a61cce
commit 1eef3f1201
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,9 @@ steps:
- name: build_draftbot
image: golang
commands:
- CGO_ENABLED=0 GOPROXY=https://modules.fromouter.space go build -o release/draftbot ./draftbot
- cd ./draftbot
- GOPROXY=https://modules.fromouter.space go mod download
- CGO_ENABLED=0 go install .
volumes:
- name: gopath
path: /go