20 lines
390 B
YAML
20 lines
390 B
YAML
|
pipeline:
|
||
|
test:
|
||
|
image: golang:1.20.4
|
||
|
environment:
|
||
|
- GO_TEST_VERBOSE=1
|
||
|
- GO_TEST_COVER=1
|
||
|
commands:
|
||
|
- cd internal/build
|
||
|
- go run magefiles/main.go -v test
|
||
|
when:
|
||
|
event: pull_request
|
||
|
|
||
|
lint:
|
||
|
image: golangci/golangci-lint:v1.52.2-alpine
|
||
|
commands:
|
||
|
- cd internal/build
|
||
|
- go run magefiles/main.go -v lint
|
||
|
when:
|
||
|
event: pull_request
|