diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0dda463c..891c0236 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,7 +13,7 @@ concurrency: jobs: unit-test-ios: - runs-on: macos-15 + runs-on: xcode-27 timeout-minutes: 30 steps: - uses: actions/checkout@v7 @@ -22,7 +22,7 @@ jobs: token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }} - name: "Setup Tools" uses: ./.github/actions/setup-tools - - run: sudo xcode-select --switch /Applications/Xcode_26.0.app + - run: sudo xcode-select --switch /Applications/Xcode_27.0.app - run: xcrun simctl list > /dev/null - run: xcodebuild -downloadPlatform iOS - name: List available Xcode versions @@ -40,7 +40,7 @@ jobs: pnpm run verify:ios unit-test-android: - runs-on: macos-15-intel + runs-on: ubuntu-latest timeout-minutes: 30 steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index a3a07338..c2579df8 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -33,7 +33,7 @@ jobs: run: echo "$PR_TITLE" | pnpm exec commitlint --verbose lint: - runs-on: "macos-15" + runs-on: "xcode-27" timeout-minutes: 30 steps: - uses: actions/checkout@v7 diff --git a/packages/capacitor-plugin/package.json b/packages/capacitor-plugin/package.json index 6a477816..8dc67e21 100644 --- a/packages/capacitor-plugin/package.json +++ b/packages/capacitor-plugin/package.json @@ -31,7 +31,7 @@ ], "scripts": { "verify": "npm run verify:ios && npm run verify:android && npm run verify:web", - "verify:ios": "xcodebuild -scheme CapacitorBackgroundRunner -destination generic/platform=iOS && xcodebuild test -scheme CapacitorBackgroundRunner -destination 'platform=iOS Simulator,OS=26.0.1,name=iPhone 17 Pro'", + "verify:ios": "xcodebuild -scheme CapacitorBackgroundRunner -destination generic/platform=iOS && xcodebuild test -scheme CapacitorBackgroundRunner -destination 'platform=iOS Simulator,OS=27.0,name=iPhone 17'", "verify:android": "cd android && ./gradlew clean test lint compileReleaseKotlin && cd ..", "verify:web": "npm run build", "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",