diff --git a/.github/workflows/validate-shellcheck.yml b/.github/workflows/validate-shellcheck.yml deleted file mode 100644 index 7a69341..0000000 --- a/.github/workflows/validate-shellcheck.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Validate Shell Scripts -permissions: - contents: read - -on: - pull_request: - paths: - - "build/**/*.sh" -jobs: - validate: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v5 - - - name: Install ShellCheck - shell: bash - run: | - sudo apt-get update - sudo apt-get install -y shellcheck - - - name: Validate Shell Scripts - shell: bash - run: | - echo "Running shellcheck on build scripts..." - - set -xeuo pipefail - - find "build" -iname '*.sh' -print0 | \ - while IFS= read -r -d '' script ; do \ - echo "::group:: ===$(basename "$script")===" - shellcheck -x "$script" - echo "✓ $script passed shellcheck" - echo "::endgroup::" - done - - echo "All shell scripts passed validation"