From 9e63c35bdb3f2a49f60eabb7f7f1ce8e3e7fe6e4 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 18 Jun 2023 12:09:43 +0300 Subject: add vet and lint checking - fix some lint errors --- Taskfile.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Taskfile.yml') 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 -- cgit v1.2.3