~ruther/qmk_firmware

683ba8b8d4cd1e299c212bf5721634ccd3a1757f — Zach White 4 years ago aae3b35
Improve the QMK Lint workflow (#10909)

* properly set the exit_code

* handle the case where exit_code is greater than 255
1 files changed, 4 insertions(+), 0 deletions(-)

M .github/workflows/lint.yml
M .github/workflows/lint.yml => .github/workflows/lint.yml +4 -0
@@ 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