This commit is contained in:
1 parent
80efeb1c7d
commit
4076341fed
1 file changed
+33
+33
@@ -0,0 +1,33 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: lint
|
||||
image: golang:latest
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||
- golangci-lint run
|
||||
|
||||
- name: test
|
||||
image: golang
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- go test
|
||||
|
||||
- name: build
|
||||
image: golang
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- go build
|
||||
|
||||
volumes:
|
||||
- name: deps
|
||||
temp: {}
|
||||
Reference in new issue
Block a user