Skip to content

Commit

Permalink
Swift 6 language mode (#78)
Browse files Browse the repository at this point in the history
* Swift 6 language mode

* macos-15

* iPhone sim
  • Loading branch information
AllDmeat authored Jan 10, 2025
1 parent ba8f78d commit 0e0d638
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
tests:
runs-on: 'macos-latest'
runs-on: macos-15

timeout-minutes: 10

Expand All @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
DESTINATION: ["platform=iOS Simulator,name=iPhone 15", "platform=OS X", "platform=tvOS Simulator,name=Apple TV", "platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm)"]
DESTINATION: ["platform=iOS Simulator,name=iPhone 16", "platform=OS X", "platform=tvOS Simulator,name=Apple TV", "platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm)"]

steps:
- name: Get source code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:

jobs:
update-docs:
runs-on: 'macos-15'
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ let package = Package(
.init(stringLiteral: exampleModuleName)
]
),
]
],
swiftLanguageModes: [.v6]
)

0 comments on commit 0e0d638

Please sign in to comment.