summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/lint.yml (renamed from .github/workflows/info.yml)9
1 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/info.yml b/.github/workflows/lint.yml
index bb3a508477..1aa347a1b2 100644
--- a/.github/workflows/info.yml
+++ b/.github/workflows/lint.yml
@@ -6,7 +6,7 @@ on:
- 'keyboards/**'
jobs:
- info:
+ lint:
runs-on: ubuntu-latest
container: qmkfm/base_container
@@ -27,7 +27,7 @@ jobs:
echo ${{ github.event.pull_request.base.sha }}
echo '${{ steps.file_changes.outputs.files}}'
- - name: Run qmk info
+ - name: Run qmk lint
shell: 'bash {0}'
run: |
QMK_CHANGES=$(echo -e '${{ steps.file_changes.outputs.files}}')
@@ -45,10 +45,7 @@ jobs:
if [[ $KEYMAP_ONLY -gt 0 ]]; then
echo "linting ${KB}"
- # TODO: info info always returns 0 - right now the only way to know failure is to inspect log lines
- qmk info -l -kb ${KB} 2>&1 | tee /tmp/$$
- !(grep -cq ☒ /tmp/$$)
- : $((exit_code = $exit_code + $?))
+ qmk lint --keyboard ${KB}
fi
done
exit $exit_code