ci: create
This commit is contained in:
parent
811cf89250
commit
9bd612c136
|
@ -0,0 +1,24 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: golang
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- go get ./...
|
||||
- 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