]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
split shellcheck
authorneil <win10@neilpang.com>
Tue, 1 Sep 2020 13:34:44 +0000 (21:34 +0800)
committerneil <win10@neilpang.com>
Tue, 1 Sep 2020 13:34:44 +0000 (21:34 +0800)
.github/workflows/LetsEncrypt.yml
.github/workflows/shellcheck.yml

index 5994fd9b1c1c13388c1e7f7f306f6ef421a83351..16e4290298417ca5cf5834af2c7fee84766ea746 100644 (file)
@@ -73,7 +73,7 @@ jobs:
       Le_HTTPPort: 8888\r
     steps:\r
     - name: Set git to use LF\r
-        run: |\r
+      run: |\r
           git config --global core.autocrlf false\r
     - uses: actions/checkout@v2\r
     - name: Install cygwin base packages with chocolatey\r
index 402492ad221894ca3b9e0c6fb037613692be58db..099b9f7d0a47480db4d3142552e78c586bf81d4a 100644 (file)
@@ -12,7 +12,7 @@ on:
       - '**.sh'\r
 \r
 jobs:\r
-  formatCheck:\r
+  ShellCheck:\r
     runs-on: ubuntu-latest\r
     steps:\r
     - uses: actions/checkout@v2\r
@@ -20,6 +20,11 @@ jobs:
       run: sudo apt-get install -y shellcheck\r
     - name: DoShellcheck\r
       run: shellcheck -V  && shellcheck -e SC2181 **/*.sh && echo "shellcheck OK"\r
+\r
+  shfmt:\r
+    runs-on: ubuntu-latest\r
+    steps:\r
+    - uses: actions/checkout@v2\r
     - name: Install shfmt\r
       run: curl -sSL https://github.com/mvdan/sh/releases/download/v3.1.2/shfmt_v3.1.2_linux_amd64 -o ~/shfmt && chmod +x ~/shfmt\r
     - name: shfmt\r