summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2020-11-10 07:21:59 -0800
committerGitHub <noreply@github.com>2020-11-10 15:21:59 +0000
commit683ba8b8d4cd1e299c212bf5721634ccd3a1757f (patch)
tree41a1592f4eb46443dd624c64a3e64b446e9b111e /.github/workflows
parentaae3b35c0fc363e4a9246e774b714a7a1ef7b6c0 (diff)
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/workflows')
-rw-r--r--.github/workflows/lint.yml4
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