diff options
author | Zach White <skullydazed@gmail.com> | 2020-11-10 07:21:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 15:21:59 +0000 |
commit | 683ba8b8d4cd1e299c212bf5721634ccd3a1757f (patch) | |
tree | 41a1592f4eb46443dd624c64a3e64b446e9b111e /.github | |
parent | aae3b35c0fc363e4a9246e774b714a7a1ef7b6c0 (diff) | |
download | qmk_firmware-683ba8b8d4cd1e299c212bf5721634ccd3a1757f.tar.gz qmk_firmware-683ba8b8d4cd1e299c212bf5721634ccd3a1757f.zip |
Improve the QMK Lint workflow (#10909)
* properly set the exit_code
* handle the case where exit_code is greater than 255
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b459973afa..cd67de9d8b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -46,6 +46,10 @@ jobs: echo "linting ${KB}" qmk lint --keyboard ${KB} && qmk info -l --keyboard ${KB} + exit_code=$(($exit_code + $?)) fi done + if [[ $exit_code -gt 255 ]]; then + exit 255 + fi exit $exit_code |