Update deploy_to_cocoapods.yml #1390
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: Lint | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
jobs: | |
build: | |
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 | |
# 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 |