Merge pull request #20 from hironaka-iori/main #115
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install SwiftLint and SwiftFormat | |
| run: brew install swiftlint swiftformat | |
| - name: SwiftFormat | |
| run: swiftformat --lint . | |
| - name: SwiftLint | |
| run: swiftlint | |
| build: | |
| name: Build | |
| runs-on: macos-26 | |
| needs: lint | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Create local configuration | |
| run: cp Outspire/Configurations.local.swift.example Outspire/Configurations.local.swift | |
| - name: Select Xcode | |
| run: sudo xcode-select --switch /Applications/Xcode_26.3.app/Contents/Developer | |
| - name: Build | |
| run: | | |
| xcodebuild \ | |
| -project Outspire.xcodeproj \ | |
| -scheme "Outspire" \ | |
| -destination 'generic/platform=iOS Simulator' \ | |
| -skipPackagePluginValidation \ | |
| build |