ci: simplify
This commit is contained in:
parent
9bd612c136
commit
2fa1f83345
15
.drone.yml
15
.drone.yml
|
@ -4,21 +4,6 @@ name: default
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: golang
|
image: golang
|
||||||
volumes:
|
|
||||||
- name: deps
|
|
||||||
path: /go
|
|
||||||
commands:
|
commands:
|
||||||
- go get ./...
|
- go get ./...
|
||||||
- go test -v ./...
|
- go test -v ./...
|
||||||
|
|
||||||
- name: build
|
|
||||||
image: golang
|
|
||||||
volumes:
|
|
||||||
- name: deps
|
|
||||||
path: /go
|
|
||||||
commands:
|
|
||||||
- GO111MODULE=on go build
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: deps
|
|
||||||
temp: {}
|
|
||||||
|
|
Loading…
Reference in New Issue