ci: run 'go vet' in golangci-lint; fix errors in tests

Updates #cleanup

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ice78fc907bad24c1de749a1595e212ef2db4b8bb
This commit is contained in:
Andrew Dunham
2023-12-07 14:23:01 -05:00
parent f5f21c213c
commit 3f576fc4ca
4 changed files with 50 additions and 2 deletions

View File

@@ -9,6 +9,9 @@ vet: ## Run go vet
tidy: ## Run go mod tidy
./tool/go mod tidy
lint: ## Run golangci-lint
./tool/go run github.com/golangci/golangci-lint/cmd/golangci-lint run
updatedeps: ## Update depaware deps
# depaware (via x/tools/go/packages) shells back to "go", so make sure the "go"
# it finds in its $$PATH is the right one.