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 - name: build_draftbot
image: golang image: golang
commands: 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: volumes:
- name: gopath - name: gopath
path: /go path: /go