This commit is contained in:
+11
-1
@@ -34,8 +34,18 @@ steps:
|
||||
exclude:
|
||||
- tag
|
||||
|
||||
- name: go-test
|
||||
- name: go-build-1.14
|
||||
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:
|
||||
- go test -v ./...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user