Skip to content

Commit 7ae4be8

Browse files
Add support for the OS 26 SDKs
1 parent 73e216f commit 7ae4be8

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
runs-on: macOS-15
2424
timeout-minutes: 30
2525
env:
26-
DEVELOPER_DIR: /Applications/Xcode_16.3.app
26+
DEVELOPER_DIR: /Applications/Xcode_26.0.app
2727
strategy:
2828
matrix:
2929
destination:
3030
- "platform=macOS"
3131
- "platform=macOS,variant=Mac Catalyst"
32-
- "platform=iOS Simulator,name=iPhone 16"
33-
- "platform=tvOS Simulator,name=Apple TV"
34-
- "platform=watchOS Simulator,name=Apple Watch Series 10 (42mm)"
35-
- "platform=visionOS Simulator,name=Apple Vision Pro"
32+
- "platform=iOS Simulator,name=iPhone 16e"
33+
- "platform=tvOS Simulator,name=Apple TV,OS=26.0"
34+
- "platform=watchOS Simulator,name=Apple Watch Series 11 (42mm),OS=26.0"
35+
- "platform=visionOS Simulator,name=Apple Vision Pro,OS=26.0"
3636
steps:
3737
- uses: actions/checkout@v4
3838
- name: Test platform ${{ matrix.destination }}
@@ -42,17 +42,12 @@ jobs:
4242
name: Test Linux
4343
runs-on: ubuntu-latest
4444
timeout-minutes: 30
45-
strategy:
46-
matrix:
47-
swift-version:
48-
- 6.0.3
49-
- 6.1
5045
steps:
5146
- name: Checkout
5247
uses: actions/checkout@v4
5348
- name: Swiftly
5449
uses: vapor/swiftly-action@v0.2.0
5550
with:
56-
toolchain: ${{ matrix.swift-version }}
51+
toolchain: latest
5752
- name: Test
5853
run: swift test

Sources/TextFormation/MutableStringPartialSystem.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ extension MutableStringPartialSystem {
4141
content.attributedSubstring(from: range).string
4242
}
4343

44+
@preconcurrency @MainActor
4445
public func applyMutation(in range: NSRange, string: String, undoManager: UndoManager? = nil) -> MutationOutput<NSRange> {
4546
let nsAttrString = NSAttributedString(string: string)
4647
let length = nsAttrString.length

0 commit comments

Comments
 (0)