Update translations logic #161
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
# This workflow will test the BobbysNews app. | |
name: Swift | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
name: ['iPhone 16 Pro', 'iPad Pro 13-inch (M4)'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest | |
- name: Run SwiftFormat | |
run: swiftformat --lint . --reporter github-actions-log --swiftversion 6.0 | |
- name: Run tests | |
run: set -o pipefail && xcodebuild clean test -project BobbysNews.xcodeproj -scheme BobbysNews -destination 'platform=iOS Simulator,name=${{ matrix.name }},OS=latest' | xcbeautify --renderer github-actions |