From 5721d5659265010a976c636fd8411def80013559 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Fri, 12 Jun 2026 09:31:24 +0200 Subject: [PATCH] chore: add CocoaPods podspec lint CI --- .github/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8e1e23183..0ae063b7e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,3 +70,16 @@ jobs: -scheme PostHogExampleWithPods \ -destination generic/platform=ios \ SWIFT_VERSION=5 | xcpretty + + podspec-lint: + runs-on: macos-15 + name: CocoaPods package lint + steps: + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90 # v1.7.0 + with: + xcode-version: latest-stable + - name: Install CocoaPods + run: gem install cocoapods + - name: Lint podspec + run: pod lib lint PostHog.podspec --allow-warnings --skip-tests