File tree 2 files changed +25
-0
lines changed
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
32
32
" $PYTHON_COMMAND " -m venv " $PYTHON_VENV_PATH "
33
33
34
34
# Activate Python virtual environment
35
+ # shellcheck source=/dev/null
35
36
. " $PYTHON_VENV_ACTIVATE_SCRIPT_PATH "
36
37
37
38
# Install Python dependencies
You can’t perform that action at this time.
0 commit comments