Bump version to 2.0.0, update README and screenshots #100
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: SwiftLint | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install SwiftLint | |
| run: brew install swiftlint | |
| - name: Run SwiftLint | |
| run: swiftlint lint --reporter github-actions-logging | |
| build-and-test: | |
| name: Build & Test | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: List available Xcode versions | |
| run: ls -la /Applications | grep Xcode | |
| - name: Select Xcode | |
| run: sudo xcode-select -s /Applications/Xcode.app | |
| - name: Show Xcode version | |
| run: xcodebuild -version | |
| - name: List available simulators | |
| run: xcrun simctl list devices available | |
| - name: Build iOS App | |
| run: | | |
| xcodebuild build \ | |
| -workspace Fun.xcworkspace \ | |
| -scheme FunApp \ | |
| -destination 'platform=iOS Simulator,name=iPhone 17 Pro' \ | |
| -configuration Debug \ | |
| CODE_SIGNING_ALLOWED=NO | |
| - name: Run Core Tests | |
| run: | | |
| xcodebuild test \ | |
| -workspace Fun.xcworkspace \ | |
| -scheme CoreTests \ | |
| -destination 'platform=iOS Simulator,name=iPhone 17 Pro' \ | |
| -configuration Debug \ | |
| CODE_SIGNING_ALLOWED=NO | |
| - name: Run Model Tests | |
| run: | | |
| xcodebuild test \ | |
| -workspace Fun.xcworkspace \ | |
| -scheme ModelTests \ | |
| -destination 'platform=iOS Simulator,name=iPhone 17 Pro' \ | |
| -configuration Debug \ | |
| CODE_SIGNING_ALLOWED=NO | |
| - name: Run Services Tests | |
| run: | | |
| xcodebuild test \ | |
| -workspace Fun.xcworkspace \ | |
| -scheme ServicesTests \ | |
| -destination 'platform=iOS Simulator,name=iPhone 17 Pro' \ | |
| -configuration Debug \ | |
| CODE_SIGNING_ALLOWED=NO | |
| - name: Run ViewModel Tests | |
| run: | | |
| xcodebuild test \ | |
| -workspace Fun.xcworkspace \ | |
| -scheme ViewModelTests \ | |
| -destination 'platform=iOS Simulator,name=iPhone 17 Pro' \ | |
| -configuration Debug \ | |
| CODE_SIGNING_ALLOWED=NO | |
| - name: Run UI Snapshot Tests | |
| continue-on-error: true | |
| run: | | |
| xcodebuild test \ | |
| -workspace Fun.xcworkspace \ | |
| -scheme UITests \ | |
| -destination 'platform=iOS Simulator,name=iPhone 17 Pro' \ | |
| -configuration Debug \ | |
| CODE_SIGNING_ALLOWED=NO |