Skip to content

Commit c49e81d

Browse files
authoredFeb 4, 2025··
Adds swift 6 to the build matrix (#8414)
Bump min version of swift to be 5.9
1 parent a285e7e commit c49e81d

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed
 

‎.bazelci/presubmit.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tasks:
1010
bazel: ${{ bazel }}
1111
environment:
1212
CC: clang
13-
SWIFT_VERSION: "5.8"
13+
SWIFT_VERSION: "5.9"
1414
SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION"
1515
PATH: "$PATH:$SWIFT_HOME/usr/bin"
1616
shell_commands:
@@ -26,7 +26,7 @@ tasks:
2626
bazel: ${{ bazel }}
2727
environment:
2828
CC: clang
29-
SWIFT_VERSION: "5.8"
29+
SWIFT_VERSION: "5.9"
3030
SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION"
3131
PATH: "$PATH:$SWIFT_HOME/usr/bin"
3232
shell_commands:

‎.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ jobs:
495495
name: Build Swift
496496
strategy:
497497
matrix:
498-
swift: ["5.8", "5.9", "5.10"]
498+
swift: ["5.9", "5.10", "6.0"]
499499
# Only 22.04 has swift at the moment https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md?plain=1#L30
500500
runs-on: ubuntu-22.04
501501
steps:

‎Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.8
1+
// swift-tools-version:5.9
22
/*
33
* Copyright 2020 Google Inc. All rights reserved.
44
*

‎benchmarks/swift/Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.8
1+
// swift-tools-version:5.9
22
/*
33
* Copyright 2020 Google Inc. All rights reserved.
44
*

‎grpc/examples/swift/Greeter/Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.9
22
/*
33
* Copyright 2020 Google Inc. All rights reserved.
44
*

‎tests/swift/tests/Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.8
1+
// swift-tools-version:5.9
22
/*
33
* Copyright 2020 Google Inc. All rights reserved.
44
*

0 commit comments

Comments
 (0)
Please sign in to comment.