diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b62a53d37..8ce02cf07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,18 +9,6 @@ on: - '*' jobs: - cocoapods: - name: CocoaPods Lint - runs-on: macOS-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-ruby@v1 - with: - ruby-version: '2.x' - - run: sudo xcode-select -s '/Applications/Xcode_11.1.app' - - run: bundle install --jobs=8 - - run: ./test podspec - xcode: name: Xcode ${{ matrix.xcode }} - ${{ matrix.platform }} runs-on: macOS-latest diff --git a/.github/workflows/pod_lint.yml b/.github/workflows/pod_lint.yml new file mode 100644 index 000000000..ab1aed698 --- /dev/null +++ b/.github/workflows/pod_lint.yml @@ -0,0 +1,22 @@ +name: CocoaPods Lint + +on: + push: + branches: + - master + pull_request: + branches: + - '*' + +jobs: + pod_lint: + name: CocoaPods Lint + runs-on: macOS-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-ruby@v1 + with: + ruby-version: '2.x' + - run: sudo xcode-select -s '/Applications/Xcode_11.app' + - run: bundle install --jobs=8 + - run: ./test podspec