fix(ci): use 'self-hosted' runner label for all jobs (act runner registers as self-hosted, not [self-hosted, macos])
CI / Lint (pull_request) Canceled after 0s
CI / Test (pull_request) Canceled after 0s
CI / Build Android (pull_request) Canceled after 0s
CI / Build iOS (pull_request) Canceled after 0s

This commit is contained in:
2026-08-02 10:24:08 +00:00
parent 7bc8fce46c
commit bdf20ef713
+5 -5
View File
@@ -24,14 +24,14 @@ jobs:
# ── Stage 1: Lint & static analysis ────────────────────────────── # ── Stage 1: Lint & static analysis ──────────────────────────────
lint: lint:
name: Lint name: Lint
runs-on: [self-hosted, macos] runs-on: self-hosted
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Flutter - name: Setup Flutter
run: | run: |
# Direct Flutter SDK download — macOS ARM64 native # Direct Flutter SDK download — macOS ARM64 (native self-hosted runner)
curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.44.8-stable.zip" \ curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.44.8-stable.zip" \
-o flutter.zip -o flutter.zip
unzip -q flutter.zip unzip -q flutter.zip
@@ -56,7 +56,7 @@ jobs:
# ── Stage 2: Unit & widget tests ───────────────────────────────── # ── Stage 2: Unit & widget tests ─────────────────────────────────
test: test:
name: Test name: Test
runs-on: [self-hosted, macos] runs-on: self-hosted
needs: [lint] needs: [lint]
steps: steps:
- name: Checkout - name: Checkout
@@ -84,7 +84,7 @@ jobs:
# ── Stage 3: Android build ────────────────────────────────────── # ── Stage 3: Android build ──────────────────────────────────────
build-android: build-android:
name: Build Android name: Build Android
runs-on: [self-hosted, macos] runs-on: self-hosted
needs: [test] needs: [test]
steps: steps:
- name: Checkout - name: Checkout
@@ -176,7 +176,7 @@ jobs:
# ── Stage 3 (parallel): iOS build ─────────────────────────────── # ── Stage 3 (parallel): iOS build ───────────────────────────────
build-ios: build-ios:
name: Build iOS name: Build iOS
runs-on: [self-hosted, macos] runs-on: self-hosted
needs: [test] needs: [test]
steps: steps:
- name: Checkout - name: Checkout