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 PLATFORM: ["ios", "macos", "tvos", "watchos"] 28 CONFIGURATION: ["Debug", "Release"] 29 steps: 30 - uses: actions/checkout@v2 31 - name: Pod lib lint 32 run: | 33 pod lib lint --verbose \ 34 --configuration=${{ matrix.CONFIGURATION }} \ 35 --platforms=${{ matrix.PLATFORM }} \ 36 Protobuf.podspec 37