Make the CVV recapture flag available on Headless #1531
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: Run lint and static analysis | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
pod-lint: | |
if: ${{ github.event.pull_request.base.ref == 'master' }} | |
runs-on: macos-latest | |
name: "Pod lint" | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ["5"] | |
steps: | |
- name: Cancel previous jobs | |
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # v0.12.1 | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # v1.172.0 | |
with: | |
ruby-version: "3.2" | |
bundler-cache: true | |
- name: Lint pod | |
run: | | |
set -eo pipefail | |
pod lib lint --allow-warnings --swift-version=${{ matrix.version }} --analyze | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} |