split shellcheck

This commit is contained in:
neil committed 2020-09-01 21:34:44 +08:00
1 parent d73438a397
commit d25b2890be
1 file changed
+6 -1
+6 -1
View File
@@ -12,7 +12,7 @@ on:
- '**.sh'
jobs:
formatCheck:
ShellCheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -20,6 +20,11 @@ jobs:
run: sudo apt-get install -y shellcheck
- name: DoShellcheck
run: shellcheck -V && shellcheck -e SC2181 **/*.sh && echo "shellcheck OK"
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.