Drop Swift 5.10, enable Swift 6 language mode (?) #678
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: | |
- "**" | |
schedule: | |
- cron: "3 3 * * 2" # 3:03 AM, every Tuesday | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
macOS: | |
name: ${{ matrix.platform }} (Swift ${{ matrix.swift }}) | |
runs-on: macos-15 | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- iOS | |
- mac-catalyst | |
- tvOS | |
swift: | |
- "6.0" | |
- "6.1" | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
- name: Disable Macro Fingerprint Validation | |
run: | | |
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES | |
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES | |
- name: Test Library | |
uses: mxcl/xcodebuild@v3 | |
with: | |
platform: ${{ matrix.platform }} | |
swift: ~${{ matrix.swift }} | |
action: test | |
workspace: SwiftUINavigationTransitions.xcworkspace | |
scheme: SwiftUINavigationTransitions | |
- name: Build Examples/Demo | |
uses: mxcl/xcodebuild@v3 | |
with: | |
platform: ${{ matrix.platform }} | |
swift: ~${{ matrix.swift }} | |
action: build | |
workspace: SwiftUINavigationTransitions.xcworkspace | |
scheme: Demo |