This repository has been archived by the owner on May 13, 2024. It is now read-only.
change package deps #185
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: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install deps | |
run: brew install swift-format xcbeautify | |
- name: Set dev config | |
run: cp Release.xcconfig Debug.xcconfig | |
- name: Run formatter | |
run: swift-format format -i -r ./Sources/**/*.swift --configuration swift-format-config.json | |
- name: Run lint | |
run: swift-format lint -r ./Sources/**/*.swift --configuration swift-format-config.json | |
- name: Run tests | |
run: set -o pipefail && xcodebuild test -scheme MembraneVideoroomDemo -destination 'platform=iOS Simulator,name=iPhone 13,OS=16.2' -workspace 'MembraneVideoroomDemo.xcworkspace' -sdk iphonesimulator | xcbeautify |