18 runs-on: ubuntu-latest
20 - uses: actions/checkout@v2
21 - name: Install Shellcheck
22 run: sudo apt-get install -y shellcheck
24 run: shellcheck -V && shellcheck -e SC2181 **/*.sh && echo "shellcheck OK"
27 runs-on: ubuntu-latest
29 - uses: actions/checkout@v2
31 run: curl -sSL https://github.com/mvdan/sh/releases/download/v3.1.2/shfmt_v3.1.2_linux_amd64 -o ~/shfmt && chmod +x ~/shfmt
33 run: ~/shfmt -l -w -i 2 . ; git diff --exit-code && echo "shfmt OK"