diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index c66af57ff..894158863 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -1,18 +1,21 @@ name: ShellCheck on: push: branches: [master] jobs: shellcheck: name: ShellCheck runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 + - name: Install ShellCheck + run: sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y shellcheck + - name: Set globstar run: shopt -s globstar - name: Run ShellCheck run: shellcheck -x -P SCRIPTDIR **/*.sh