Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update workflows #455

Merged
merged 1 commit into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)