From 2d8fec60f404f2da94add00bcc647f848c639d59 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Sun, 17 Jul 2022 22:33:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20add=20go=20vet=20to=20pipeline?= =?UTF-8?q?=20checks=20(#4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christoph Hartmann --- .github/workflows/go.yml | 3 +++ Makefile | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4d990cf..05fe28d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,3 +23,6 @@ jobs: - name: Test run: go test -v ./... + + - name: Vet + run: go vet -v ./... \ No newline at end of file diff --git a/Makefile b/Makefile index 81a3d8b..db73104 100644 --- a/Makefile +++ b/Makefile @@ -12,4 +12,9 @@ run/example/server: install generate/examples .PHONY: run/example/client run/example/client: generate/examples - go run examples/pingpong/client/main.go \ No newline at end of file + go run examples/pingpong/client/main.go + +.PHONY: test +test: + go test ./... + go vet ./... \ No newline at end of file