Merged in bugfix/cleanup (pull request #10)

Clean Up Testing and Linting

* somescriptcleanup

* mostgolangci

* deplatest

* imageversions

* usingscratch

* movedqueuefrtesting

* finishedunittesting

* linting

* taskfilecontext
This commit is contained in:
Michael McGuinness
2025-01-10 11:12:03 +00:00
parent 57764272c3
commit 0ebb8a21a1
62 changed files with 940 additions and 357 deletions
+14 -1
View File
@@ -1,19 +1,26 @@
---
# 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:
@@ -39,12 +46,18 @@ tasks:
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
@@ -53,4 +66,4 @@ tasks:
- shellcheck --shell=sh scripts/install-deps.sh
docs:
cmds:
- godoc -http=:6060
- godoc -http=:6060