fix: remove container isolation - use host runner environment
Some checks failed
Bash Syntax Check / syntax-check (push) Failing after 2s

This commit is contained in:
2026-02-11 04:55:47 +00:00
parent 093dfe13f2
commit 0d91a7f1a1

View File

@@ -20,12 +20,9 @@ on:
jobs:
syntax-check:
runs-on: linux,x86_64,docker
container:
image: alpine:3.19
steps:
- name: Checkout code
run: |
apk add --no-cache git
git clone --depth 1 "$(echo "${{ gitea.server_url }}" | sed "s|://|://oauth2:${{ gitea.token }}@|")/${{ gitea.repository }}.git" .
git checkout -q ${{ github.sha }}
echo "✓ Checkout complete"
@@ -34,7 +31,11 @@ jobs:
- name: Install shellcheck
run: |
echo "Installing shellcheck..."
apk add --no-cache shellcheck
if command -v apk >/dev/null 2>&1; then
apk add --no-cache shellcheck
elif command -v apt-get >/dev/null 2>&1; then
apt-get update && apt-get install -y shellcheck
fi
echo "✓ shellcheck installed"
- name: Run bash syntax check