Răsfoiți Sursa

Merge pull request #388 from piotrkwiecinski/style-fix-ci

shellcheck fix with github action
Mark Shust 4 ani în urmă
părinte
comite
8c29d25b03
1 a modificat fișierele cu 24 adăugiri și 0 ștergeri
  1. 24 0
      .github/workflows/shellcheck.yml

+ 24 - 0
.github/workflows/shellcheck.yml

@@ -0,0 +1,24 @@
+name: 'ShellCheck'
+
+on: 
+  push:
+    branches: ["master"]
+  pull_request:
+
+jobs:
+  shellcheck:
+    name: shellcheck
+    runs-on: ubuntu-latest
+    steps:
+
+    - name: Checkout
+      uses: actions/checkout@v2
+
+    - name: Run ShellCheck
+      uses: ludeeus/action-shellcheck@master
+      id: check
+      env:
+        SHELLCHECK_OPTS: -x -e SC2181 -P compose/bin -P compose/env
+      with:
+        check_together: true
+        scandir: './compose/bin'