Initial commit

This commit is contained in:
humocs-man
2026-02-17 17:27:26 +01:00
committed by GitHub
commit 302bbf2239
44 changed files with 4200 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
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"