Skip to content

Commit

Permalink
🧹 add go vet to pipeline checks (#4)
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hartmann <[email protected]>
  • Loading branch information
chris-rock authored Jul 17, 2022
1 parent 5eb80ee commit 2d8fec6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ jobs:

- name: Test
run: go test -v ./...

- name: Vet
run: go vet -v ./...
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
go run examples/pingpong/client/main.go

.PHONY: test
test:
go test ./...
go vet ./...

0 comments on commit 2d8fec6

Please sign in to comment.