Page MenuHomePhabricator

D4755.id15375.diff
No OneTemporary

D4755.id15375.diff

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

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)

Event Timeline