28 lines
405 B
YAML
28 lines
405 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 golang.org/x/lint
|
|
- golint ./...
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: signature
|
|
hmac: 7a91c47d0f7cb92054e9c14466e39935c89c1128214f60e13fa93569d6ff99e2
|
|
|
|
...
|