File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ # Quickstart for GitHub Actions
2+ # https://docs.github.com/en/actions/quickstart
3+
4+ name : Lint
5+ on : [ push, pull_request, workflow_dispatch ]
6+
7+ jobs :
8+
9+ test :
10+ runs-on : ubuntu-latest
11+ timeout-minutes : 5
12+ name : Lint
13+
14+ steps :
15+ - uses : actions/checkout@v3
16+ with :
17+ submodules : recursive
18+ - run : test-cases/lint.sh
Original file line number Diff line number Diff line change @@ -53,4 +53,5 @@ portableReadLink() {
5353THIS_SCRIPT=" $( portableReadLink " ${BASH_SOURCE[0]} " ) "
5454BASE_DIR=" $( dirname " $THIS_SCRIPT " ) "
5555
56+ # shellcheck disable=SC1091
5657source " $BASE_DIR /xpl" " $@ "
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -eEuo pipefail
3+
4+ # cd to the root of the project
5+ cd " $( dirname " $( readlink -f " ${BASH_SOURCE[0]} " ) " ) " /..
6+
7+ find bin lib legacy-bin -type f |
8+ grep -Pv ' /show-duplicate-java-classes$' |
9+ grep -Pv ' /\.editorconfig$' |
10+ xargs --verbose shellcheck --shell=bash
You can’t perform that action at this time.
0 commit comments