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.
47 lines
622 B
47 lines
622 B
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: logger
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang:1.21.5
|
|
volumes:
|
|
- name: deps
|
|
path: /go/src/mod
|
|
commands:
|
|
- go test
|
|
|
|
- name: golangci-lint
|
|
image: golangci/golangci-lint:v1.55
|
|
commands:
|
|
- golangci-lint run
|
|
|
|
volumes:
|
|
- name: deps
|
|
temp: {}
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: otel
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang:1.21.5
|
|
volumes:
|
|
- name: deps
|
|
path: /go/src/mod
|
|
commands:
|
|
- cd handler/otel
|
|
- go test
|
|
|
|
- name: golangci-lint
|
|
image: golangci/golangci-lint:v1.55
|
|
commands:
|
|
- cd handler/otel
|
|
- golangci-lint run
|
|
|
|
volumes:
|
|
- name: deps
|
|
temp: {}
|
|
|