From d42b2cc056f4c6dab12814789835768e36074d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Klintrup?= Date: Sun, 3 Dec 2023 21:24:31 +0100 Subject: [PATCH] update syntax check to shared action --- .github/workflows/lint-shell.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-shell.yml b/.github/workflows/lint-shell.yml index 1617be4..92e96f6 100644 --- a/.github/workflows/lint-shell.yml +++ b/.github/workflows/lint-shell.yml @@ -7,12 +7,11 @@ permissions: jobs: sh: - name: sh-noexec-verify + name: simple-shell-syntax-check runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Run ShellCheck - run: sh -n check_smartarray.sh + - uses: Klintrup/simple-shell-syntax-check@v1 shellcheck: name: shellcheck runs-on: ubuntu-latest