Skip to content

Commit 7bbc493

Browse files
committed
[SPARK-51808] Use Swift 6.1 in GitHub Action CIs
### What changes were proposed in this pull request? This PR aims to use `Swift` 6.1 in GitHub Action CIs while keeping the minimum version is still 6.0. ### Why are the changes needed? Swift community released 6.1 on March 31, 2025. We had better use the latest version to have a test coverage. - https://www.swift.org/blog/swift-6.1-released/ - [ST-0007: Testing Scope Traits](https://github.com/swiftlang/swift-evolution/blob/main/proposals/testing/0007-test-scoping-traits.md) To bring Swift 6.1, `setup-swift` is upgraded to `v2.3.0`. - https://github.com/swift-actions/setup-swift/releases/tag/v2.3.0 - swift-actions/setup-swift#693 ### Does this PR introduce _any_ user-facing change? No, this is a test infra only change. ### How was this patch tested? Pass the CIs and check the CI log manually. ``` Apple Swift version 6.1 (swift-6.1-RELEASE) ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes #61 from dongjoon-hyun/swift61. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent ea3ea2a commit 7bbc493

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build_and_test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
- macos-15
5050
steps:
5151
- uses: actions/checkout@v4
52-
- uses: swift-actions/setup-swift@v2.2.0
52+
- uses: swift-actions/setup-swift@v2.3.0
5353
with:
54-
swift-version: "6"
54+
swift-version: "6.1"
5555
- name: Build
5656
run: swift build -v
5757

@@ -67,19 +67,19 @@ jobs:
6767
options: --entrypoint /opt/spark/sbin/start-connect-server.sh
6868
steps:
6969
- uses: actions/checkout@v4
70-
- uses: swift-actions/setup-swift@v2.2.0
70+
- uses: swift-actions/setup-swift@v2.3.0
7171
with:
72-
swift-version: "6"
72+
swift-version: "6.1"
7373
- name: Test
7474
run: swift test --no-parallel
7575

7676
integration-test-mac:
7777
runs-on: macos-15
7878
steps:
7979
- uses: actions/checkout@v4
80-
- uses: swift-actions/setup-swift@v2.2.0
80+
- uses: swift-actions/setup-swift@v2.3.0
8181
with:
82-
swift-version: "6"
82+
swift-version: "6.1"
8383
- name: Test
8484
run: |
8585
curl -LO https://dist.apache.org/repos/dist/dev/spark/v4.0.0-rc4-bin/spark-4.0.0-bin-hadoop3.tgz

0 commit comments

Comments
 (0)