diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ce73f997..7e9f75a5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,5 +10,24 @@ jobs: name: Run swiftlint runs-on: warp-macos-14-arm64-6x steps: + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - uses: actions/checkout@v3 - - run: pod lib lint --allow-warnings + + # Install swiftlint + - name: Install swiftlint + run: brew install swiftlint + + # Run swiftlint + - name: Run swiftlint + run: swiftlint Sources/ XMTPiOSExample/XMTPiOSExample + + # Install CocoaPods dependencies + - name: Install CocoaPods dependencies + run: pod install + + # Lint the podspec + - name: Lint podspec + run: pod lib lint --allow-warnings