|
kind: pipeline
|
|
type: docker
|
|
name: pipeline
|
|
|
|
steps:
|
|
- name: lint
|
|
image: golangci/golangci-lint:v1.61.0-alpine
|
|
commands:
|
|
- golangci-lint run --config=./golangci.yml ./...
|
|
|
|
- name: test with race and cover
|
|
image: golang:1.22.7
|
|
commands:
|
|
- go test -race -count 100 -timeout 30s ./...
|