There was an error while loading. Please reload this page.
1 parent 4e418c5 commit 34bf57fCopy full SHA for 34bf57f
1 file changed
.github/workflows/security.yml
@@ -0,0 +1,24 @@
1
+name: Security Checks
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ shellcheck:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+ - name: Run ShellCheck
11
+ uses: ludeeus/action-shellcheck@v2
12
+ with:
13
+ args: .
14
15
+ psscriptanalyzer:
16
17
18
19
+ - name: Install PowerShell
20
+ uses: actions/setup-powershell@v2
21
+ - name: Install PSScriptAnalyzer
22
+ run: pwsh -Command "Install-Module -Name PSScriptAnalyzer -Force -Scope CurrentUser"
23
+ - name: Run PSScriptAnalyzer
24
+ run: pwsh -Command "Invoke-ScriptAnalyzer -Path . -Recurse"
0 commit comments