29 lines
453 B
YAML
29 lines
453 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
image: golang
|
|
environment:
|
|
CGO_ENABLED: 1
|
|
GOOS: linux
|
|
commands:
|
|
- go test ./...
|
|
- go build -a -installsuffix cgo .
|
|
- go get -u golang.org/x/lint/golint
|
|
- golint -set_exit_status ./...
|
|
- go vet ./...
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: signature
|
|
hmac: 3f905d0f23f11cd24d48660dc042a491ec7c1dd846ea76615bb867df2008cc46
|
|
|
|
...
|