Skip to content

Commit

Permalink
fix(build): abort on code-check error
Browse files Browse the repository at this point in the history
  • Loading branch information
geyslan committed Feb 25, 2025
1 parent 42be2e7 commit 80a7362
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions builder/Makefile.checkers
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,12 @@ fmt-fix: | \
code-check: | \
.check_tree
#
@echo "Checking Golang vet..."
$(GENERAL_MAKE) check-vet
echo "Checking Golang with StaticChecker..."
$(GENERAL_MAKE) -j1 check-staticcheck
echo "Checking Golang with errcheck..."
@set -e; \
echo "Checking Golang vet..."; \
$(GENERAL_MAKE) check-vet; \
echo "Checking Golang with StaticChecker..."; \
$(GENERAL_MAKE) -j1 check-staticcheck; \
echo "Checking Golang with errcheck..."; \
$(GENERAL_MAKE) -j1 check-err

#
Expand Down

0 comments on commit 80a7362

Please sign in to comment.