Files
query-orchestration/scripts/Taskfile.yml
T
Michael McGuinness 0ebb8a21a1 Merged in bugfix/cleanup (pull request #10)
Clean Up Testing and Linting

* somescriptcleanup

* mostgolangci

* deplatest

* imageversions

* usingscratch

* movedqueuefrtesting

* finishedunittesting

* linting

* taskfilecontext
2025-01-10 11:12:03 +00:00

70 lines
1.2 KiB
YAML

---
# https://taskfile.dev
version: '3'
includes:
deps:
dir: "{{.CONTEXT}}"
taskfile: dependencies.yml
test:
dir: "{{.CONTEXT}}"
taskfile: tests.yml
docker:
dir: "{{.CONTEXT}}"
taskfile: docker.yml
proto:
dir: "{{.CONTEXT}}"
taskfile: proto.yml
compose:
dir: "{{.CONTEXT}}"
taskfile: compose.yml
db:
dir: "{{.CONTEXT}}"
taskfile: database.yml
vars:
CONTEXT: ..
OUT_DIR: out
OUT_FILE: "{{.OUT_DIR}}/main_grpc"
tasks:
generate:
deps:
- db:generate
- proto:generate
lint:
cmds:
- task code:lint
- task db:lint
- task yaml:lint
- task docker:lint
- task compose:lint
- task shell:lint
- task proto:lint
lint:fix:
cmds:
- task code:lint:fix
- task proto:lint:fix
- task db:lint
- task yaml:lint
- task docker:lint
- task compose:lint
- task shell:lint
code:lint:
cmds:
- golangci-lint run
code:lint:fix:
cmds:
- gofmt -w .
- golangci-lint run
yaml:lint:
cmds:
- yamllint . -s
shell:lint:
cmds:
- shellcheck --shell=sh scripts/install-deps.sh
docs:
cmds:
- godoc -http=:6060