summaryrefslogtreecommitdiff
path: root/Taskfile.yml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-06-18 12:09:43 +0300
committerPaul Buetow <paul@buetow.org>2023-06-18 12:09:43 +0300
commit9e63c35bdb3f2a49f60eabb7f7f1ce8e3e7fe6e4 (patch)
tree3a0b81d23db9cec370c67f585b70373788926120 /Taskfile.yml
parent1a963283a18f9c3a69c92bf5b424748c9813d6d4 (diff)
add vet and lint checking - fix some lint errors
Diffstat (limited to 'Taskfile.yml')
-rw-r--r--Taskfile.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Taskfile.yml b/Taskfile.yml
index fb6b3bc..d910237 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -4,3 +4,10 @@ tasks:
build:
cmds:
- go build -o gogios cmd/gogios/main.go
+ check:
+ cmds:
+ - go vet **/*.go
+ - golangci-lint run
+ lint-install:
+ cmds:
+ - go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest