File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Lint shell scripts
2+
3+ on :
4+ push :
5+ paths :
6+ - ' .github/workflows/lint-shell.yml'
7+ - ' **.sh'
8+ pull_request :
9+ paths :
10+ - ' .github/workflows/lint-shell.yml'
11+ - ' **.sh'
12+
13+ jobs :
14+ lint :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v2
20+
21+ # Recursively lint all shell scripts in the repository
22+ # See: https://github.com/azohra/shell-linter/blob/latest/README.md
23+ - name : ShellCheck
24+ uses : azohra/shell-linter@latest
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ sudo apt-get install --yes python${PYTHON_PACKAGE_VERSION}-venv > /dev/null
3232" $PYTHON_COMMAND " -m venv " $PYTHON_VENV_PATH "
3333
3434# Activate Python virtual environment
35+ # shellcheck source=/dev/null
3536. " $PYTHON_VENV_ACTIVATE_SCRIPT_PATH "
3637
3738# Install Python dependencies
You can’t perform that action at this time.
0 commit comments