Updating workflows to work on current GitHub stack #13
This file contains hidden or 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: iOS | |
on: [pull_request] | |
jobs: | |
build: | |
timeout-minutes: 3 | |
runs-on: macOS-latest | |
steps: | |
- name: Set up Swift | |
uses: fwal/setup-swift@v1 | |
with: | |
swift-version: '6.0' | |
- name: Swift version | |
run: swift --version | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: swift build | |
- name: Run iOS tests | |
run: xcodebuild build test -destination 'name=iPhone 11' -scheme 'RectangleTools-Package' | |