mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
26 lines
434 B
YAML
26 lines
434 B
YAML
version: '3'
|
|
|
|
vars:
|
|
COMPONENT:
|
|
sh: cat go.mod |head -1|cut -d \ -f2|cut -d / -f 3
|
|
|
|
tasks:
|
|
tests:
|
|
cmds:
|
|
- go test -p 1 -coverpkg ./... -coverprofile coverage.out -covermode atomic ./...
|
|
lint:
|
|
cmds:
|
|
- golangci-lint run --fix --allow-parallel-runners --config ./../../.golangci.yml
|
|
build:
|
|
cmds:
|
|
- go build
|
|
|
|
helm:
|
|
cmds:
|
|
- echo "ok"
|
|
|
|
generate-client:
|
|
cmds:
|
|
- go generate
|
|
|