Make code style errors fail their CI job

Mimics the behavior of the old Travis script
This commit is contained in:
ISSOtm
2020-09-22 02:59:38 +02:00
parent 6528a955fe
commit e98485da3f

View File

@@ -21,4 +21,5 @@ jobs:
- name: Checkpatch - name: Checkpatch
working-directory: rgbds working-directory: rgbds
run: | run: |
make checkpatch CHECKPATCH=./checkpatch.pl "BASE_REF=${{ github.event.pull_request.base.sha }}" Q= make checkpatch CHECKPATCH=./checkpatch.pl "BASE_REF=${{ github.event.pull_request.base.sha }}" Q= | tee log
if grep -q ERROR: log; then exit 1; else exit 0; fi