This has the consequence of removing the path filter, but allows us to actually use these test results as presubmits. Since these are relatively cheap tests, this seems like a better situation. A future enhancement may restore path filters to these and other tests. PiperOrigin-RevId: 507872208pull/11848/head
parent
48a3b95f28
commit
41336a0c35
2 changed files with 20 additions and 40 deletions
@ -1,40 +0,0 @@ |
||||
name: 'ObjC CocoaPods' |
||||
|
||||
on: |
||||
push: |
||||
paths: |
||||
- '.github/workflows/objc_cocoapods.yml' |
||||
- 'Protobuf.podspec' |
||||
- 'objectivec/**' |
||||
- '!objectivec/DevTools/**' |
||||
- '!objectivec/ProtocolBuffers_*.xcodeproj/**' |
||||
- '!objectivec/Tests/**' |
||||
pull_request: |
||||
paths: |
||||
- '.github/workflows/objc_cocoapods.yml' |
||||
- 'Protobuf.podspec' |
||||
- 'objectivec/**' |
||||
- '!objectivec/DevTools/**' |
||||
- '!objectivec/ProtocolBuffers_*.xcodeproj/**' |
||||
- '!objectivec/Tests/**' |
||||
|
||||
permissions: |
||||
contents: read # to fetch code (actions/checkout) |
||||
|
||||
jobs: |
||||
pod-lib-lint: |
||||
runs-on: macos-latest |
||||
strategy: |
||||
fail-fast: false |
||||
matrix: |
||||
# Add back 'watchos'. See CocoaPods/CocoaPods#11558 |
||||
PLATFORM: ["ios", "macos", "tvos"] |
||||
CONFIGURATION: ["Debug", "Release"] |
||||
steps: |
||||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 |
||||
- name: Pod lib lint |
||||
run: | |
||||
pod lib lint --verbose \ |
||||
--configuration=${{ matrix.CONFIGURATION }} \ |
||||
--platforms=${{ matrix.PLATFORM }} \ |
||||
Protobuf.podspec |
Loading…
Reference in new issue