Skip to content

Merge pull request #25 from cashapp/release-0.6.1 #43

Merge pull request #25 from cashapp/release-0.6.1

Merge pull request #25 from cashapp/release-0.6.1 #43

Workflow file for this run

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 (15.1.0)
run: sudo xcode-select --switch /Applications/Xcode_15.1.0.app/Contents/Developer
- name: Build
run: xcodebuild build -scheme PayKit -sdk "`xcrun --sdk iphonesimulator --show-sdk-path`"