This commit is contained in:
+11
-1
@@ -34,8 +34,18 @@ steps:
|
|||||||
exclude:
|
exclude:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
- name: go-test
|
- name: go-build-1.14
|
||||||
image: golang:1.13
|
image: golang:1.13
|
||||||
|
commands:
|
||||||
|
- go mod download
|
||||||
|
- CGO_ENABLED=0 go build -ldflags "-w -s" .
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
- name: go-test
|
||||||
|
image: golang:1.14
|
||||||
commands:
|
commands:
|
||||||
- go test -v ./...
|
- go test -v ./...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user