We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 215c51f commit 102cb1aCopy full SHA for 102cb1a
.github/workflows/shellcheck.yml
@@ -0,0 +1,27 @@
1
+name: Run ShellCheck
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - '*' # Run on all branches
7
+ pull_request:
8
9
10
11
+jobs:
12
+ shellcheck:
13
+ name: Run ShellCheck
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v3
19
20
+ - name: Install ShellCheck
21
+ run: sudo apt-get install -y shellcheck
22
23
+ - name: Run ShellCheck
24
+ run: |
25
+ # Find all shell scripts and run shellcheck
26
+ find . -name "*.sh" -print0 | xargs -0 shellcheck
27
0 commit comments