Skip to content

Commit 36f3be5

Browse files
authored
Update CI to macos26. (#368)
1 parent 2008a6d commit 36f3be5

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,28 @@ concurrency:
66
jobs:
77
cocoapods:
88
name: CocoaPods
9-
runs-on: macOS-13
9+
runs-on: macos-26
1010
steps:
1111
- name: Check out repository
1212
uses: actions/checkout@v3
1313
with:
1414
ref: ${{ github.event.pull_request.head.ref }}
1515
repository: ${{ github.event.pull_request.head.repo.full_name }}
16-
- name: Use Xcode 15.1
17-
run: sudo xcode-select -switch /Applications/Xcode_15.1.app
16+
- name: Select Xcode Version
17+
run: sudo xcode-select -switch /Applications/Xcode_26.0.1.app/Contents/Developer
1818
- name: Run pod lib lint
1919
run: pod lib lint
2020
spm:
2121
name: Swift Package Manager
22-
runs-on: macOS-13
22+
runs-on: macos-26
2323
steps:
2424
- name: Check out repository
2525
uses: actions/checkout@v3
2626
with:
2727
ref: ${{ github.event.pull_request.head.ref }}
2828
repository: ${{ github.event.pull_request.head.repo.full_name }}
29-
- name: Use Xcode 15.1
30-
run: sudo xcode-select -switch /Applications/Xcode_15.1.app
29+
- name: Select Xcode Version
30+
run: sudo xcode-select -switch /Applications/Xcode_26.0.1.app/Contents/Developer
3131
- name: Use current branch
3232
run: sed -i '' 's/branch = .*/branch = \"'"${GITHUB_HEAD_REF//\//\/}"'\";/' SampleApps/SPMTest/SPMTest.xcodeproj/project.pbxproj
3333
- name: Run swift package resolve

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ on:
88
jobs:
99
release:
1010
name: Release
11-
runs-on: macOS-13
11+
runs-on: macos-26
1212
steps:
1313
- name: Check out repository
1414
uses: actions/checkout@v3
1515
with:
1616
fetch-depth: 0
17-
- name: Use Xcode 15.1
18-
run: sudo xcode-select -switch /Applications/Xcode_15.1.app
17+
- name: Select Xcode Version
18+
run: sudo xcode-select -switch /Applications/Xcode_26.0.1.app/Contents/Developer
1919
- name: Check for unreleased section in changelog
2020
run: grep "## unreleased" CHANGELOG.md || (echo "::error::No unreleased section found in CHANGELOG" && exit 1)
2121
- name: Set git username and email

.github/workflows/swiftlint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ concurrency:
66
jobs:
77
swiftlint:
88
name: SwiftLint
9-
runs-on: macOS-14
9+
runs-on: macos-26
1010
steps:
1111
- name: Check out repository
1212
uses: actions/checkout@v2
13-
- name: Use Xcode 15.1
14-
run: sudo xcode-select -switch /Applications/Xcode_15.1.app
13+
- name: Select Xcode Version
14+
run: sudo xcode-select -switch /Applications/Xcode_26.0.1.app/Contents/Developer
1515
- name: Install SwiftLint
1616
run: brew install swiftlint
1717
- name: Run SwiftLint

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ concurrency:
66
jobs:
77
unit_test_job:
88
name: Unit
9-
runs-on: macOS-13
9+
runs-on: macos-26
1010
steps:
1111
- name: Checkout repository
1212
uses: actions/checkout@v3
1313
with:
1414
ref: ${{ github.event.pull_request.head.ref }}
1515
repository: ${{ github.event.pull_request.head.repo.full_name }}
16-
- name: Use Xcode 15.1
17-
run: sudo xcode-select -switch /Applications/Xcode_15.1.app
16+
- name: Select Xcode Version
17+
run: sudo xcode-select -switch /Applications/Xcode_26.0.1.app/Contents/Developer
1818
- name: Run Unit Tests
19-
run: set -o pipefail && xcodebuild -workspace 'PayPal.xcworkspace' -sdk 'iphonesimulator' -configuration 'Debug' -scheme 'UnitTests' -destination 'name=iPhone 14,platform=iOS Simulator' test | xcpretty
19+
run: set -o pipefail && xcodebuild -workspace 'PayPal.xcworkspace' -sdk 'iphonesimulator' -configuration 'Debug' -scheme 'UnitTests' -destination 'platform=iOS Simulator,name=iPhone 17' test | xcpretty

0 commit comments

Comments
 (0)