This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
Fix the link to SDK documentation (#23) #109
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: 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 FishjamClientTests test -destination "platform=iOS Simulator,name=iPhone 14,OS=latest" | xcbeautify |