circleci: Add make formatcheck

Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
This commit is contained in:
InsanePrawn 2020-08-31 15:56:40 +02:00
parent c90acefacb
commit 7a5883d404

View File

@ -60,6 +60,15 @@ jobs:
- run: make zrepl-bin - run: make zrepl-bin
- run: make vet - run: make vet
- run:
shell: /bin/bash
command: |
needformat="$(make formatcheck)"
if [ -n "$needformat" ]; then
echo "$needformat"
exit 1
fi
exit 0
- run: make lint - run: make lint
- run: make release - run: make release
- run: make test-go - run: make test-go