File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Shell check
2
+
3
+ on :
4
+ - push
5
+ - pull_request
6
+
7
+ jobs :
8
+ shellcheck :
9
+ runs-on : ubuntu-20.04
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+ - name : Shell check
13
+ run : make shellcheck
Original file line number Diff line number Diff line change @@ -148,6 +148,11 @@ distribution-archives: ## Generate distribution archives to be uploaded into Pyt
148
148
upload-distribution-archives : # # Upload distribution archives into Python registry
149
149
pdm run python -m twine upload --repository ${PYTHON_REGISTRY} dist/*
150
150
151
+ shellcheck : # # Run shellcheck
152
+ wget -qO- " https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz" | tar -xJv \
153
+ shellcheck --version
154
+ shellcheck -- * /* .sh
155
+
151
156
help : # # Show this help screen
152
157
@echo ' Usage: make <OPTIONS> ... <TARGETS>'
153
158
@echo ' '
You can’t perform that action at this time.
0 commit comments