Skip to content

Commit 2be8d4d

Browse files
williamhyundongjoon-hyun
authored andcommitted
[SPARK-52097] Add Swift 6.0 GitHub Action CI
### What changes were proposed in this pull request? This PR aims to add Swift 6.0 CI. ### Why are the changes needed? To prevent compilation failure in advance. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #140 from williamhyun/swift6CI. Authored-by: William Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent c43bc16 commit 2be8d4d

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/build_and_test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,17 @@ jobs:
3939
with:
4040
config: .github/.licenserc.yaml
4141

42-
build-macos-15:
42+
build-macos-15-swift60:
43+
runs-on: macos-15
44+
steps:
45+
- uses: actions/checkout@v4
46+
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
47+
with:
48+
swift-version: "6.0"
49+
- name: Build
50+
run: swift build -c release
51+
52+
build-macos-15-swift61:
4353
runs-on: macos-15
4454
steps:
4555
- uses: actions/checkout@v4

Sources/SparkConnect/DataStreamWriter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public actor DataStreamWriter: Sendable {
190190
UUID(uuidString: result.queryID.id)!,
191191
UUID(uuidString: result.queryID.runID)!,
192192
result.name,
193-
self.df.sparkSession,
193+
self.df.sparkSession
194194
)
195195

196196
return query

0 commit comments

Comments
 (0)