diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee20096..a0e9f94 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,9 +33,6 @@ jobs: - name: Run Tests run: make test - - name: Run Vets - run: make vet - - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: diff --git a/Makefile b/Makefile index 40c35b9..63914fb 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ PROJECTNAME=$(shell basename "$(PWD)") -VET_DIRS := $(shell find ./examples -mindepth 1 -type d) # Go related variables. # Make is verbose in Linux. Make it silent. @@ -20,17 +19,6 @@ lint: test: @go test -v -race -count=1 -coverprofile=coverage.out ./... -.PHONY: vet -## vet: Runs go vet for all exampels -vet: - @for dir in $(VET_DIRS); do \ - echo "Running go vet in $$dir..."; \ - output=$$(go vet $$dir/*.go 2>&1); \ - if [ -n "$$output" ]; then \ - echo "$$output"; \ - fi \ - done - .PHONY: help ## help: Prints this help message help: Makefile