Skip to content

Commit

Permalink
chore(build): run 'verify-parser' goal on CI
Browse files Browse the repository at this point in the history
This will ensure that a PR includes the optimized
parser when running on CI

Fixes bytesparadise#732

Signed-off-by: Xavier Coulon <[email protected]>
  • Loading branch information
xcoulon committed Jul 17, 2020
1 parent 994c92f commit 0014575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Test
run: |
make test-with-coverage
make verify-parser test-with-coverage
- name: Codecov
if: runner.os == 'Linux'
Expand Down
2 changes: 1 addition & 1 deletion make/go.mk
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ verify-parser: prebuild-checks
ifneq ($(shell git diff --quiet pkg/parser/parser.go; echo $$?), 0)
$(error "parser was generated with an older version of 'mna/pigeon' or without the '-optimize' option(s).")
else
@echo "parser is ok"
@echo "generated parser is ok"
endif

.PHONY: install
Expand Down

0 comments on commit 0014575

Please sign in to comment.