Release 1.1.0 #62
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: Swift | |
on: | |
pull_request: | |
branches: [ "develop", "main" ] | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: List available Xcode versions | |
run: ls /Applications | grep Xcode | |
- name: Set up Xcode version | |
run: sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer | |
- name: Show current version of Xcode | |
run: xcodebuild -version | |
- name: Build | |
run: xcodebuild -scheme SwiftRetrier build -destination "platform=OS X" | |
- name: Run tests | |
run: xcodebuild -scheme SwiftRetrier test -destination "platform=OS X" | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: SwiftLint | |
uses: raphaelbussa/swiftlint-action@main | |
with: | |
subcommand: lint --strict |