Merge pull request #24 from cashapp/release-0.6.0 #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
pod-lint: | |
name: Pod Lint | |
runs-on: macos-13 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Bundle Install | |
run: bundle install --gemfile=Gemfile | |
- name: Lint PayKit Podspec | |
run: bundle exec --gemfile=Gemfile pod lib lint --verbose --fail-fast CashAppPayKit.podspec | |
- name: Lint PayKitUI Podspec | |
run: bundle exec --gemfile=Gemfile pod lib lint --verbose --fail-fast CashAppPayKitUI.podspec | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: failed_snaphots | |
path: /Users/runner/Library/Developer/CoreSimulator/Devices/*/data/Containers/Data/Application/*/tmp/ | |
spm: | |
name: SPM Build | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Select Xcode Version (14.2.0) | |
run: sudo xcode-select --switch /Applications/Xcode_14.2.0.app/Contents/Developer | |
- name: Build | |
run: swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios14.0-simulator" |