Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32563146
D4755.1767349202.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
624 B
Referenced Files
None
Subscribers
None
D4755.1767349202.diff
View Options
diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml
new file mode 100644
--- /dev/null
+++ b/.github/workflows/shellcheck.yml
@@ -0,0 +1,21 @@
+name: ShellCheck
+
+on:
+ push:
+ branches: [master]
+
+jobs:
+ shellcheck:
+ name: ShellCheck
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Install ShellCheck
+ run: sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y shellcheck
+
+ - name: Set globstar
+ run: shopt -s globstar
+
+ - name: Run ShellCheck
+ run: shellcheck -x -P SCRIPTDIR **/*.sh
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 2, 10:20 AM (3 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5879201
Default Alt Text
D4755.1767349202.diff (624 B)
Attached To
Mode
D4755: [CI] Add `ShellCheck` workflow to GitHub Actions
Attached
Detach File
Event Timeline
Log In to Comment