Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Prepare code for releasing as a pod (#19) #97

Prepare code for releasing as a pod (#19)

Prepare code for releasing as a pod (#19) #97

Workflow file for this run

name: Run lint & tests
on: [push]
jobs:
lint:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Install deps 📡
run: brew install swift-format xcbeautify
- name: Run formatter 🎨
run: swift-format format -i -r ./**/**/*.swift --configuration swift-format-config.json
- name: Run lint 👀
run: swift-format lint -r -s ./**/**/*.swift --configuration swift-format-config.json
- name: Generate mocks 🫥
run: swift package update Mockingbird && ./gen-mocks.sh
- name: Run tests 💀
run: set -o pipefail && xcodebuild -scheme JellyfishClientSdkTests test -destination "platform=iOS Simulator,name=iPhone 14,OS=latest" | xcbeautify