neil
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
3 deletions
-
.github/workflows/ci.yml
|
@ -11,8 +11,6 @@ jobs: |
|
|
- name: DoShellcheck |
|
|
- name: DoShellcheck |
|
|
run: shellcheck -V && shellcheck -e SC2181 **/*.sh && echo "shellcheck OK" |
|
|
run: shellcheck -V && shellcheck -e SC2181 **/*.sh && echo "shellcheck OK" |
|
|
- name: Install shfmt |
|
|
- name: Install shfmt |
|
|
with: |
|
|
|
|
|
SHFMT_URL: "https://github.com/mvdan/sh/releases/download/v3.1.2/shfmt_v3.1.2_linux_amd64" |
|
|
|
|
|
run: curl -sSL ${{ SHFMT_URL }} -o ~/shfmt && chmod +x ~/shfmt |
|
|
|
|
|
|
|
|
run: curl -sSL https://github.com/mvdan/sh/releases/download/v3.1.2/shfmt_v3.1.2_linux_amd64 -o ~/shfmt && chmod +x ~/shfmt |
|
|
- name: shfmt |
|
|
- name: shfmt |
|
|
run: ~/shfmt -l -w -i 2 . ; git diff --exit-code && echo "shfmt OK" |
|
|
run: ~/shfmt -l -w -i 2 . ; git diff --exit-code && echo "shfmt OK" |