Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3559272
D4755.id15375.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
624 B
Referenced Files
None
Subscribers
None
D4755.id15375.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
Sat, Dec 28, 5:49 AM (1 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2724057
Default Alt Text
D4755.id15375.diff (624 B)
Attached To
Mode
D4755: [CI] Add `ShellCheck` workflow to GitHub Actions
Attached
Detach File
Event Timeline
Log In to Comment