File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 3939 # Run the job only for PRs with related changes or non-PR events.
4040 if : github.event_name != 'pull_request' || needs.files-changed.outputs.run_lint_cocoapods_specs_for_prs == 'true'
4141 needs : files-changed
42- runs-on : macos-14
42+ runs-on : macos-15
4343 strategy :
4444 fail-fast : false
4545 matrix :
@@ -49,11 +49,12 @@ jobs:
4949
5050 steps :
5151 - uses : actions/checkout@v5
52- - run : ./scripts/ci-select-xcode.sh 15 .4
52+ - run : ./scripts/ci-select-xcode.sh 16 .4
5353 # We need to update the spec-repo, because it can happen that it is not up to date and then the lint fails.
5454 - run : pod repo update
5555 - name : Validate Podspec
56- run : ./scripts/pod-lib-lint.sh ${{ matrix.platform }} ${{ matrix.podspec}} ${{ matrix.library_type}}
56+ # Use --allow-warnings because cocoapods gives warnings like "warning: using '@_implementationOnly' without enabling library evolution for 'Sentry' may lead to instability during execution"
57+ run : ./scripts/pod-lib-lint.sh ${{ matrix.platform }} ${{ matrix.podspec}} ${{ matrix.library_type}} --allow-warnings
5758 - name : Run CI Diagnostics
5859 if : failure()
5960 run : ./scripts/ci-diagnostics.sh
@@ -63,11 +64,11 @@ jobs:
6364 # Run the job only for PRs with related changes or non-PR events.
6465 if : github.event_name != 'pull_request' || needs.files-changed.outputs.run_lint_cocoapods_specs_for_prs == 'true'
6566 needs : files-changed
66- runs-on : macos-14
67+ runs-on : macos-15
6768
6869 steps :
6970 - uses : actions/checkout@v5
70- - run : ./scripts/ci-select-xcode.sh 15 .4
71+ - run : ./scripts/ci-select-xcode.sh 16 .4
7172 - run : pod repo update
7273 - name : Validate HybridPod Podspec
7374 run : pod lib lint ./Tests/HybridSDKTest/HybridPod.podspec --allow-warnings --verbose --platforms=ios "--include-podspecs={Sentry.podspec}"
Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ case $LIBRARY_TYPE in
3333 ;;
3434esac
3535
36- pod lib lint --verbose --platforms=" $PLATFORM " " $POD_SPEC " .podspec $INCLUDE_POD_SPECS $EXTRA_ARGS
36+ pod lib lint --verbose --platforms=" $PLATFORM " " $POD_SPEC " .podspec $INCLUDE_POD_SPECS $EXTRA_ARGS " ${ @: 4} "
You can’t perform that action at this time.
0 commit comments