File tree Expand file tree Collapse file tree 2 files changed +16
-37
lines changed Expand file tree Collapse file tree 2 files changed +16
-37
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Static analysis of Python scripts with Pylint
1+ name : Static analysis of scripts
22
33on :
44 # run on pull requests to the main branch
@@ -19,7 +19,7 @@ concurrency:
1919 cancel-in-progress : true
2020
2121jobs :
22- shellcheck :
22+ pylint :
2323 name : Install and run Pylint on Python scripts
2424 runs-on : ubuntu-latest
2525 steps :
3333 - name : Run Pylint (error mode)
3434 run : pylint --errors-only scripts/*.py
3535
36+ shellcheck :
37+ name : Install and run ShellCheck on shell scripts
38+ runs-on : ubuntu-latest
39+ steps :
40+ - name : Install ShellCheck
41+ run : sudo apt update && sudo apt -y install shellcheck
42+
43+ - uses : actions/checkout@v4
44+ with :
45+ fetch-depth : 0
46+
47+ - name : Run ShellCheck
48+ run : shellcheck scripts/*.sh
49+
You can’t perform that action at this time.
0 commit comments