You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
765 B
51 lines
765 B
3 years ago
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: test
|
||
|
image: golang:1.14.2
|
||
|
volumes:
|
||
|
- name: deps
|
||
|
path: /go/src/mod
|
||
|
commands:
|
||
|
- go test
|
||
|
|
||
|
- name: golangci-lint
|
||
|
image: golangci/golangci-lint:v1.29
|
||
|
commands:
|
||
|
- golangci-lint run
|
||
|
|
||
|
- name: logrus golangci-lint
|
||
|
image: golangci/golangci-lint:v1.29
|
||
|
commands:
|
||
|
- cd logrus
|
||
|
- golangci-lint run
|
||
|
|
||
|
- name: logrus test
|
||
|
image: golang:1.14.2
|
||
|
volumes:
|
||
|
- name: deps
|
||
|
path: /go/src/mod
|
||
|
commands:
|
||
|
- cd logrus
|
||
|
- go test
|
||
|
|
||
|
- name: zap golangci-lint
|
||
|
image: golangci/golangci-lint:v1.29
|
||
|
commands:
|
||
|
- cd zap
|
||
|
- golangci-lint run
|
||
|
|
||
|
- name: zap test
|
||
|
image: golang:1.14.2
|
||
|
volumes:
|
||
|
- name: deps
|
||
|
path: /go/src/mod
|
||
|
commands:
|
||
|
- cd zap
|
||
|
- go test
|
||
|
|
||
|
volumes:
|
||
|
- name: deps
|
||
|
temp: {}
|