Skip to content

fix: Mark Dog ViewModel factory methods as @MainActor #11

fix: Mark Dog ViewModel factory methods as @MainActor

fix: Mark Dog ViewModel factory methods as @MainActor #11

Workflow file for this run

name: iOS CI
on:
push:
branches: [ main, 'test/**' ]
pull_request:
branches: [ main ]
jobs:
lint:
name: SwiftLint
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: SwiftLint
run: |
brew install swiftlint
swiftlint
build-and-test:
name: Build & Test
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_16.1.app
- name: Show Xcode version
run: xcodebuild -version
- name: Build (Mac Catalyst - iOS Simulator unavailable on CI)
run: |
xcodebuild clean build \
-project Shell.xcodeproj \
-scheme Shell \
-destination 'platform=macOS,name=My Mac' \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO
- name: Note about iOS Simulator Tests
run: |
echo "⚠️ iOS Simulator tests skipped - Xcode 16.1 on GitHub Actions has no iOS simulators"
echo "📋 Local test verification required before merge"
echo "✅ Build verification passed with Mac Catalyst variant"
analyze:
name: Static Analysis
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_16.1.app
- name: Run Analyzer (Mac Catalyst)
run: |
xcodebuild analyze \
-project Shell.xcodeproj \
-scheme Shell \
-destination 'platform=macOS,name=My Mac' \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO