1name: 'ObjC CocoaPods' 2 3on: 4 push: 5 paths: 6 - '.github/workflows/objc_cocoapods.yml' 7 - 'Protobuf.podspec' 8 - 'objectivec/**' 9 - '!objectivec/DevTools/**' 10 - '!objectivec/ProtocolBuffers_*.xcodeproj/**' 11 - '!objectivec/Tests/**' 12 pull_request: 13 paths: 14 - '.github/workflows/objc_cocoapods.yml' 15 - 'Protobuf.podspec' 16 - 'objectivec/**' 17 - '!objectivec/DevTools/**' 18 - '!objectivec/ProtocolBuffers_*.xcodeproj/**' 19 - '!objectivec/Tests/**' 20 21jobs: 22 pod-lib-lint: 23 runs-on: macos-latest 24 strategy: 25 fail-fast: false 26 matrix: 27 # Add back 'watchos'. See CocoaPods/CocoaPods#11558 28 PLATFORM: ["ios", "macos", "tvos"] 29 CONFIGURATION: ["Debug", "Release"] 30 steps: 31 - uses: actions/checkout@v2 32 - name: Pod lib lint 33 run: | 34 pod lib lint --verbose \ 35 --configuration=${{ matrix.CONFIGURATION }} \ 36 --platforms=${{ matrix.PLATFORM }} \ 37 Protobuf.podspec 38