Actually use gomod
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Hamcha 2019-06-27 14:17:23 +02:00
parent d5a7a61cce
commit 1eef3f1201

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