2024-01-01 19:15:23 +00:00
|
|
|
steps:
|
|
|
|
build:
|
|
|
|
image: "golang:1.21.5-alpine"
|
|
|
|
commands:
|
|
|
|
- go build ./cmd/rio
|
2024-01-01 19:16:49 +00:00
|
|
|
- go test $(go list ./... | grep -v /vendor/)
|
2024-01-01 19:15:23 +00:00
|
|
|
lint:
|
|
|
|
image: "golang:1.21.5-alpine"
|
|
|
|
commands:
|
|
|
|
- go fmt $(go list ./... | grep -v /vendor/)
|
|
|
|
- go vet $(go list ./... | grep -v /vendor/)
|