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.
26 lines
447 B
26 lines
447 B
3 years ago
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: test
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go test -parallel 10 --race ./...
|
||
|
|
||
|
- name: golangci-lint
|
||
|
image: golangci/golangci-lint:v1.39
|
||
|
commands:
|
||
|
- golangci-lint run
|
||
|
|
||
|
- name: test routine
|
||
|
image: golang
|
||
|
commands:
|
||
|
- cd routine
|
||
|
- go test -parallel 10 --race ./...
|
||
|
|
||
|
- name: golangci-lint routine
|
||
|
image: golangci/golangci-lint:v1.39
|
||
|
commands:
|
||
|
- cd routine
|
||
|
- golangci-lint run
|