We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c67bb3 commit 74b6d75Copy full SHA for 74b6d75
.github/workflows/shellcheck.yml
@@ -0,0 +1,24 @@
1
+---
2
+name: Shellcheck
3
+
4
+on:
5
+ push:
6
+ branches: [master]
7
+ pull_request:
8
9
10
+jobs:
11
+ shellcheck:
12
+ name: Check shell scripts
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v3
18
+ - name: Install dependencies
19
+ run: |
20
+ sudo apt update && sudo apt install -y shellcheck
21
22
+ - name: shellcheck
23
24
+ git grep -l '^#!\(/bin/\|/usr/bin/env \)\(sh\|bash\|dash\|ksh\)' | xargs shellcheck
0 commit comments