From 68d2b6667439a592739d5644fb53df0719561a35 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Mon, 4 Nov 2024 19:57:21 -0800 Subject: [PATCH] Update lint.yml --- .github/workflows/lint.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) 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