Skip to content

Commit 7780a8c

Browse files
committed
minor updates
1 parent f53a537 commit 7780a8c

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

.github/workflows/swift.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,19 @@ on:
1212
jobs:
1313
build:
1414

15-
runs-on: macos-14
15+
runs-on: macos-15
1616

1717
steps:
18-
- run: |
19-
sudo xcode-select -s /Applications/Xcode_16.2.app
20-
- uses: actions/checkout@v3
18+
- uses: maxim-lobanov/setup-xcode@v1
19+
with:
20+
xcode-version: latest-stable
21+
22+
- uses: actions/checkout@v4
23+
2124
- name: Build
22-
run: swift build -v
25+
run: |
26+
xcodebuild
27+
2328
- name: Run tests
24-
run: swift test -v
29+
run: |
30+
xcodebuild test

DIExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DIExample/Posts14/PostListView14.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import SwiftUI
99

1010
@available(macOS 14.0, *)
11-
@MainActor struct PostListView14: View {
11+
struct PostListView14: View {
1212
@Bindable private var viewModel = PostListViewModel14()
1313
@State private var selection: Typicode.Post?
1414

0 commit comments

Comments
 (0)