Skip to content

Commit 6fad18c

Browse files
protobuf-github-botzhangskz
authored andcommitted
Update GitHub Actions to use macOS-13 ahead of macOS-12 deprecation.
See actions/runner-images#10721. PiperOrigin-RevId: 684546079
1 parent 31c5280 commit 6fad18c

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This information is extracted from the MacOS runner specs located at:
2-
# https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
2+
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
33
#
44
# When updating, also ensure the "xcode_destination" entries in
55
# `.github/workflows/test_objectivec.yml` are supported for the given versions

.github/workflows/test_cpp.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@ jobs:
314314
matrix:
315315
include:
316316
- name: MacOS
317-
os: macos-12
318-
cache_key: macos-12
317+
os: macos-13
318+
cache_key: macos-13
319319
bazel: test //src/...
320320
- name: MacOS Apple Silicon (build only)
321-
os: macos-12
322-
cache_key: macos-12-arm
321+
os: macos-13
322+
cache_key: macos-13-arm
323323
# Current github runners are all Intel based, so just build/compile
324324
# for Apple Silicon to detect issues there.
325325
bazel: build --cpu=darwin_arm64 //src/...

.github/workflows/test_objectivec.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
destination: "platform=macOS"
2626
xc_project: "ProtocolBuffers_OSX.xcodeproj"
2727
- platform: "iOS"
28-
destination: "platform=iOS Simulator,name=iPhone 13,OS=latest"
28+
destination: "platform=iOS Simulator,name=iPhone 14,OS=latest"
2929
xc_project: "ProtocolBuffers_iOS.xcodeproj"
3030

3131
name: Xcode ${{ matrix.platform}} ${{ matrix.xc_config }}
32-
runs-on: macos-12
32+
runs-on: macos-13
3333
env:
3434
DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer
3535
steps:
@@ -72,7 +72,7 @@ jobs:
7272
PLATFORM: ["ios", "macos", "tvos"]
7373
CONFIGURATION: ["Debug", "Release"]
7474
name: CocoaPods ${{ matrix.PLATFORM}} ${{ matrix.CONFIGURATION}}
75-
runs-on: macos-12
75+
runs-on: macos-13
7676
env:
7777
DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer
7878
steps:
@@ -115,7 +115,7 @@ jobs:
115115
- platform: "macOS"
116116
bazel_targets: //objectivec/...
117117
name: Bazel ${{ matrix.platform }} ${{ matrix.config.name }}
118-
runs-on: macos-12
118+
runs-on: macos-13
119119
steps:
120120
- name: Checkout pending changes
121121
uses: protocolbuffers/protobuf-ci/checkout@v2

.github/workflows/test_python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
flags: --define=use_fast_cpp_protos=true
6565

6666
name: MacOS ${{ matrix.type }} ${{ matrix.version }}
67-
runs-on: macos-12
67+
runs-on: macos-13
6868
steps:
6969
- name: Checkout pending changes
7070
uses: protocolbuffers/protobuf-ci/checkout@v2

.github/workflows/test_ruby.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
#- { version: "3.2", ffi: FFI }
126126

127127
name: MacOS Ruby ${{ matrix.version }}${{ matrix.ffi == 'FFI' && ' FFI' || '' }}
128-
runs-on: macos-12
128+
runs-on: macos-13
129129
steps:
130130
- name: Checkout pending changes
131131
uses: protocolbuffers/protobuf-ci/checkout@v2

.github/workflows/test_upb.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- { name: "macOS", bazel-command: "test" }
9090
- { name: "macOS ARM (build only)", bazel-command: "build", flags: "--cpu=darwin_arm64" }
9191
name: ${{ matrix.config.name }}
92-
runs-on: macos-12
92+
runs-on: macos-13
9393
steps:
9494
- name: Checkout pending changes
9595
uses: protocolbuffers/protobuf-ci/checkout@v2

0 commit comments

Comments
 (0)