Skip to content

Commit

Permalink
Adds swift 6 to the build matrix (google#8414)
Browse files Browse the repository at this point in the history
Bump min version of swift to be 5.9
  • Loading branch information
mustiikhalil authored Feb 4, 2025
1 parent a285e7e commit c49e81d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tasks:
bazel: ${{ bazel }}
environment:
CC: clang
SWIFT_VERSION: "5.8"
SWIFT_VERSION: "5.9"
SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION"
PATH: "$PATH:$SWIFT_HOME/usr/bin"
shell_commands:
Expand All @@ -26,7 +26,7 @@ tasks:
bazel: ${{ bazel }}
environment:
CC: clang
SWIFT_VERSION: "5.8"
SWIFT_VERSION: "5.9"
SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION"
PATH: "$PATH:$SWIFT_HOME/usr/bin"
shell_commands:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ jobs:
name: Build Swift
strategy:
matrix:
swift: ["5.8", "5.9", "5.10"]
swift: ["5.9", "5.10", "6.0"]
# Only 22.04 has swift at the moment https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md?plain=1#L30
runs-on: ubuntu-22.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.8
// swift-tools-version:5.9
/*
* Copyright 2020 Google Inc. All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/swift/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.8
// swift-tools-version:5.9
/*
* Copyright 2020 Google Inc. All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion grpc/examples/swift/Greeter/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.1
// swift-tools-version:5.9
/*
* Copyright 2020 Google Inc. All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion tests/swift/tests/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.8
// swift-tools-version:5.9
/*
* Copyright 2020 Google Inc. All rights reserved.
*
Expand Down

0 comments on commit c49e81d

Please sign in to comment.