From c5108a030a3b8e3169aaa4c3f6f4ee3afb5a4dca Mon Sep 17 00:00:00 2001
From: Thomas Van Lenten <thomasvl@google.com>
Date: Wed, 27 Nov 2024 11:10:50 -0500
Subject: [PATCH] Move CI to newer images.

This also gets Xcode 16 by default.
---
 .github/workflows/cocoapods.yml         | 4 ++--
 .github/workflows/examples.yml          | 2 +-
 .github/workflows/service_generator.yml | 4 ++--
 .github/workflows/swiftpm.yml           | 8 ++++----
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/cocoapods.yml b/.github/workflows/cocoapods.yml
index 6bb48b897..87ed26074 100644
--- a/.github/workflows/cocoapods.yml
+++ b/.github/workflows/cocoapods.yml
@@ -24,7 +24,7 @@ jobs:
   # time, so this covers the Core spec and tests.
   pod-lib-lint-core:
     name: CocoaPods lib lint Core
-    runs-on: macos-14
+    runs-on: macos-15
     strategy:
       fail-fast: false
       matrix:
@@ -55,7 +55,7 @@ jobs:
   # resources without any real gain.
   pod-lib-lint-subspecs:
     name: CocoaPods lib lint SubSpecs
-    runs-on: macos-14
+    runs-on: macos-15
     strategy:
       fail-fast: false
       matrix:
diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml
index 6c1f1d16b..402eb07f5 100644
--- a/.github/workflows/examples.yml
+++ b/.github/workflows/examples.yml
@@ -31,7 +31,7 @@ on:
 
 jobs:
   examples:
-    runs-on: macos-14
+    runs-on: macos-15
     strategy:
       fail-fast: false
       matrix:
diff --git a/.github/workflows/service_generator.yml b/.github/workflows/service_generator.yml
index 033d62ee4..1f48bb4ac 100644
--- a/.github/workflows/service_generator.yml
+++ b/.github/workflows/service_generator.yml
@@ -29,7 +29,7 @@ on:
 
 jobs:
   swift:
-    runs-on: macos-14
+    runs-on: macos-15
     strategy:
       fail-fast: false
       matrix:
@@ -43,7 +43,7 @@ jobs:
         swift build --configuration ${{ matrix.CONFIGURATION }}
 
   xcodebuild:
-    runs-on: macos-14
+    runs-on: macos-15
     strategy:
       fail-fast: false
       matrix:
diff --git a/.github/workflows/swiftpm.yml b/.github/workflows/swiftpm.yml
index 0b1bf8daf..1a7197203 100644
--- a/.github/workflows/swiftpm.yml
+++ b/.github/workflows/swiftpm.yml
@@ -24,7 +24,7 @@ on:
 jobs:
   swift:
     # The swift command line only support build/testing for macOS on.
-    runs-on: macos-14
+    runs-on: macos-15
     strategy:
       fail-fast: false
       matrix:
@@ -40,7 +40,7 @@ jobs:
   xcodebuild:
     # Job(s) to build for all the platforms to ensure that is working and the
     # tests are passing.
-    runs-on: macos-14
+    runs-on: macos-15
     strategy:
       fail-fast: false
       matrix:
@@ -53,7 +53,7 @@ jobs:
         set -eu
         case "${{matrix.PLATFORM}}" in
           ios)
-            DESTINATION="platform=iOS Simulator,name=iPhone 14,OS=latest"
+            DESTINATION="platform=iOS Simulator,name=iPhone 16,OS=latest"
             ;;
           macos)
             DESTINATION="platform=macOS"
@@ -65,7 +65,7 @@ jobs:
             DESTINATION="platform=visionOS Simulator,name=Apple Vision Pro,OS=latest"
             ;;
           watchos)
-            DESTINATION="platform=WatchOS Simulator,name=Apple Watch Series 7 (45mm),OS=latest"
+            DESTINATION="platform=WatchOS Simulator,name=Apple Watch Series 10 (46mm),OS=latest"
             ;;
         esac