Release 1.0.0 #55
This file contains hidden or 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-latest | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| - 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@v4 | |
| 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@v4 | |
| - name: Build | |
| run: xcodebuild build -scheme PayKit -sdk "`xcrun --sdk iphonesimulator --show-sdk-path`" |