Ensure fetcher authorization delays support stop callbacks. #369
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 ] | |
paths: | |
- 'Sources/**' | |
- 'UnitTests/**' | |
- '*.podspec' | |
- '.github/workflows/cocoapods.yml' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'Sources/**' | |
- 'UnitTests/**' | |
- '*.podspec' | |
- '.github/workflows/cocoapods.yml' | |
schedule: | |
# Run the first and fifteenth of every month at 5:12 UTC | |
- cron: '12 5 1,15 * *' | |
# Also allow manual triggering from the github UX to revalidate things. | |
workflow_dispatch: | |
jobs: | |
pod-lib-lint: | |
runs-on: macos-14 | |
strategy: | |
fail-fast: false | |
matrix: | |
# watchOS fails linting when there are test, wedge in --skip-tests for | |
# those runs. | |
# GitHub runners dropped visionOS. https://github.com/actions/runner-images/issues/10559 | |
PLATFORM: ["ios", "macos", "tvos", "watchos --skip-tests"] | |
CONFIGURATION: ["Debug", "Release"] | |
steps: | |
- uses: actions/checkout@v4 | |
# Manually expanding out static frameworks to avoid making to many jobs. | |
- name: Pod lib lint | |
run: | | |
pod lib lint --verbose \ | |
--configuration=${{ matrix.CONFIGURATION }} \ | |
--platforms=${{ matrix.PLATFORM }} \ | |
GTMSessionFetcher.podspec | |
- name: Pod lib lint - Use Static Frameworks | |
run: | | |
pod lib lint --verbose --use-static-frameworks \ | |
--configuration=${{ matrix.CONFIGURATION }} \ | |
--platforms=${{ matrix.PLATFORM }} \ | |
GTMSessionFetcher.podspec |