Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hupe1980 committed Jul 21, 2023
1 parent a1c1d41 commit 50e77f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 0 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 50e77f8

Please sign in to comment.