Files
flipper/.github/workflows/iOS-pod-lint.yml
Pritesh Nandgaonkar 526d985d15 Run iOS jobs on podspec changes (#2136)
Summary:
Updates the run conditions of iOS jobs so that it is triggered when we change "Flipper.podspec" and "FlipperKit.podspec"
## Changelog

- Update the run conditions

Pull Request resolved: https://github.com/facebook/flipper/pull/2136

Test Plan: CI

Reviewed By: passy

Differential Revision: D27402914

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 3b687612f26a0e22773c48540b76a7660bb29ed6
2021-03-29 11:41:34 -07:00

36 lines
867 B
YAML

name: Validate Podspecs
on:
push:
paths:
- "iOS/**"
- "xplat/**"
- "Flipper.podspec"
- "FlipperKit.podspec"
pull_request:
paths:
- "iOS/**"
- "xplat/**"
- "Flipper.podspec"
- "FlipperKit.podspec"
jobs:
lint-flipperkit_pod:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependences
run: pod repo update
- name: Lint FlipperKit
run: pod lib lint FlipperKit.podspec --use-libraries --allow-warnings --verbose --skip-import-validation --include-podspecs=Flipper.podspec
lint-flipper_pod:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependences
run: pod repo update
- name: Lint Flipper
run: pod lib lint Flipper.podspec --use-libraries --allow-warnings --verbose