From 0e9706f3bb3914dee25d1157d07fd9988862fc77 Mon Sep 17 00:00:00 2001 From: Vladislav Fitc Date: Thu, 1 Feb 2024 16:44:39 +0100 Subject: [PATCH] update xcode select version --- .github/workflows/carthage.yml | 20 ++++++++++---------- .github/workflows/pods.yml | 14 +++++++------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/carthage.yml b/.github/workflows/carthage.yml index 098256252..312a1ccf7 100644 --- a/.github/workflows/carthage.yml +++ b/.github/workflows/carthage.yml @@ -1,15 +1,15 @@ name: Carthage -on: +on: pull_request: jobs: check: - runs-on: macos-12 + runs-on: macos-latest steps: - - name: Select Xcode version - run: sudo xcode-select -s '/Applications/Xcode_13.4.app/Contents/Developer' - - name: Initialize Cartfile - run: | - tee Cartfile <<<"github \"algolia/algoliasearch-client-swift\" \"${{ github.head_ref }}\"" - carthage update --no-build - sh ./Carthage/Checkouts/algoliasearch-client-swift/carthage-prebuild - carthage build --use-xcframeworks --platform ios \ No newline at end of file + - name: Select Xcode version + run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer' + - name: Initialize Cartfile + run: | + tee Cartfile <<<"github \"algolia/algoliasearch-client-swift\" \"${{ github.head_ref }}\"" + carthage update --no-build + sh ./Carthage/Checkouts/algoliasearch-client-swift/carthage-prebuild + carthage build --use-xcframeworks --platform ios diff --git a/.github/workflows/pods.yml b/.github/workflows/pods.yml index 57501dc5e..79b9de2a2 100644 --- a/.github/workflows/pods.yml +++ b/.github/workflows/pods.yml @@ -1,12 +1,12 @@ name: Cocoapods -on: +on: pull_request: jobs: lint: - runs-on: macos-12 + runs-on: macos-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - - name: Select Xcode version - run: sudo xcode-select -s '/Applications/Xcode_13.4.app/Contents/Developer' - - name: Pod lib lint - run: pod lib lint --allow-warnings + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - name: Select Xcode version + run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer' + - name: Pod lib lint + run: pod lib lint --allow-warnings