Skip to content

Update to Swift 6 language mode #24

Update to Swift 6 language mode

Update to Swift 6 language mode #24

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Select Xcode 16.0
run: sudo xcode-select -s /Applications/Xcode_16.0.app
- name: Build
run: xcodebuild -scheme Flash -destination "platform=iOS Simulator,OS=latest,name=iPhone 16" -disableAutomaticPackageResolution
- name: Run tests
run: xcodebuild test -scheme Flash -destination "platform=iOS Simulator,OS=latest,name=iPhone 16" -disableAutomaticPackageResolution