diff --git a/.github/workflows/test-pull-request.yml b/.github/workflows/test-pull-request.yml index fbcfd67..7e5b64f 100644 --- a/.github/workflows/test-pull-request.yml +++ b/.github/workflows/test-pull-request.yml @@ -10,7 +10,7 @@ on: jobs: swift-code-checks: name: Code Tests - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v4 @@ -21,8 +21,8 @@ jobs: - name: Lint code run: swiftlint lint --config .swiftlint.yml --reporter github-actions-logging - - name: Select Xcode 15.3 - run: sudo xcode-select -s /Applications/Xcode_15.3.app + - name: Select Xcode + run: sudo xcode-select -s /Applications/Xcode_16.4.app - name: Build UID2 for iOS run: xcodebuild -scheme UID2 -destination "generic/platform=iOS" @@ -31,10 +31,10 @@ jobs: run: xcodebuild -scheme UID2 -destination "generic/platform=tvOS" - name: Run UID2 unit tests - run: xcodebuild test -scheme UID2 -sdk iphonesimulator17.4 -destination "OS=17.4,name=iPhone 15" + run: xcodebuild test -scheme UID2 -destination "OS=18.5,name=iPhone 16" - name: Run UID2 unit tests on tvOS - run: xcodebuild test -scheme UID2 -sdk appletvsimulator17.4 -destination "OS=17.4,name=Apple TV" + run: xcodebuild test -scheme UID2 -destination "OS=18.5,name=Apple TV" - name: Bootstrap Prebid Dependencies run: cd UID2Prebid && ./bootstrap.sh && cd - @@ -43,7 +43,7 @@ jobs: run: xcodebuild -workspace UID2Prebid/UID2Prebid.xcworkspace -scheme UID2Prebid -destination "generic/platform=iOS" - name: Run UID2Prebid unit tests - run: xcodebuild test -workspace UID2Prebid/UID2Prebid.xcworkspace -scheme UID2Prebid -sdk iphonesimulator17.4 -destination "OS=17.4,name=iPhone 15" + run: xcodebuild test -workspace UID2Prebid/UID2Prebid.xcworkspace -scheme UID2Prebid -destination "OS=18.5,name=iPhone 16" - name: Lint UID2 pod spec run: pod lib lint UID2.podspec.json --verbose