diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 59178f1d..e63530a3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,14 +31,10 @@ jobs: uses: actions/checkout@v3 - name: Install Dependencies - run: | - brew install carthage - - - name: Carthage update - run: carthage update --platform iOS --use-xcframeworks + run: sudo gem install cocoapods - - name: Carthage build - run: carthage build --no-skip-current --use-xcframeworks + - name: CocoaPods spec lint + run: pod lib lint Google-Maps-iOS-Utils.podspec - name: Build DevApp run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a864d23..18821ee1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,8 +28,8 @@ jobs: with: token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }} - - name: Use Xcode 13.2.1 - run: sudo xcode-select -s /Applications/Xcode_13.2.1.app/Contents/Developer + - name: Use Xcode 14.2 + run: sudo xcode-select -s /Applications/Xcode_14.2.app/Contents/Developer - name: Install Dependencies run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 71884f0b..35cae54b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,22 +32,14 @@ jobs: uses: actions/checkout@v3 - name: Install Dependencies - run: | - brew install carthage - sudo gem install cocoapods - - - name: Carthage update - run: carthage update --platform iOS --use-xcframeworks - - - name: Carthage build - run: carthage build --no-skip-current --use-xcframeworks + run: sudo gem install cocoapods - name: CocoaPods spec lint run: pod lib lint Google-Maps-iOS-Utils.podspec - name: Run unit tests run: | - xcodebuild -scheme UnitTest -configuration Debug -destination "platform=iOS Simulator,OS=13.2.1,name=iPhone 8" build test | xcpretty + xcodebuild -scheme UnitTest -configuration Debug -destination "platform=iOS Simulator,OS=15.0,name=iPhone 8" build test | xcpretty - name: Upload test results to CodeCov run: bash <(curl -s https://codecov.io/bash)