From 57167badc54e470cecdd0928f93625eba11f01cb Mon Sep 17 00:00:00 2001 From: Atlas Date: Wed, 11 Feb 2026 04:56:52 +0000 Subject: [PATCH] refactor: use ubuntu-latest runner for better compatibility --- .gitea/workflows/syntax-check.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/syntax-check.yml b/.gitea/workflows/syntax-check.yml index ca18482..05d6f2a 100644 --- a/.gitea/workflows/syntax-check.yml +++ b/.gitea/workflows/syntax-check.yml @@ -19,7 +19,7 @@ on: jobs: syntax-check: - runs-on: linux,x86_64,docker + runs-on: ubuntu-latest steps: - name: Checkout code run: | @@ -31,11 +31,7 @@ jobs: - name: Install shellcheck run: | echo "Installing 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 + sudo apt-get update && sudo apt-get install -y shellcheck echo "✓ shellcheck installed" - name: Run bash syntax check