Add QuickLint, a CLI tool to detect focused specs, and optionally remove the focus. #480
Workflow file for this run
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: CocoaPods | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
jobs: | |
filter: | |
runs-on: ubuntu-latest | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/skip-duplicate-actions@v5.3.1 | |
with: | |
paths: '[".github/workflows/cocoapods.yml", "Quick.podspec", "Sources/**", "Gemfile*", "Rakefile"]' | |
do_not_skip: '["push", "workflow_dispatch", "schedule"]' | |
cocoapods: | |
name: CocoaPods Lint | |
needs: filter | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v4 | |
if: ${{ needs.filter.outputs.should_skip != 'true' }} | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
if: ${{ needs.filter.outputs.should_skip != 'true' }} | |
- run: rake podspec:lint | |
if: ${{ needs.filter.outputs.should_skip != 'true' }} |