Fix sizing month header on every frame and add more calendar model ca… #587
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
xcode: | |
- '15.0' # Swift 5.9 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: xcodebuild clean build -scheme HorizonCalendar -destination "generic/platform=iOS Simulator" | |
- name: Run tests | |
run: xcodebuild clean test -project HorizonCalendar.xcodeproj -scheme HorizonCalendar -destination "name=iPhone 14,OS=17.2" | |
lint-swift: | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
xcode: | |
- '15.0' # Swift 5.9 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint Swift | |
run: swift package --allow-writing-to-package-directory format --lint |