Adds swift 6 to the build matrix (#8414)

Bump min version of swift to be 5.9
This commit is contained in:
mustiikhalil
2025-02-04 09:11:46 -08:00
committed by GitHub
parent a285e7ef1a
commit c49e81d6ec
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ tasks:
bazel: ${{ bazel }} bazel: ${{ bazel }}
environment: environment:
CC: clang CC: clang
SWIFT_VERSION: "5.8" SWIFT_VERSION: "5.9"
SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION" SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION"
PATH: "$PATH:$SWIFT_HOME/usr/bin" PATH: "$PATH:$SWIFT_HOME/usr/bin"
shell_commands: shell_commands:
@@ -26,7 +26,7 @@ tasks:
bazel: ${{ bazel }} bazel: ${{ bazel }}
environment: environment:
CC: clang CC: clang
SWIFT_VERSION: "5.8" SWIFT_VERSION: "5.9"
SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION" SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION"
PATH: "$PATH:$SWIFT_HOME/usr/bin" PATH: "$PATH:$SWIFT_HOME/usr/bin"
shell_commands: shell_commands:
+1 -1
View File
@@ -495,7 +495,7 @@ jobs:
name: Build Swift name: Build Swift
strategy: strategy:
matrix: 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 # 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 runs-on: ubuntu-22.04
steps: steps:
+1 -1
View File
@@ -1,4 +1,4 @@
// swift-tools-version:5.8 // swift-tools-version:5.9
/* /*
* Copyright 2020 Google Inc. All rights reserved. * Copyright 2020 Google Inc. All rights reserved.
* *
+1 -1
View File
@@ -1,4 +1,4 @@
// swift-tools-version:5.8 // swift-tools-version:5.9
/* /*
* Copyright 2020 Google Inc. All rights reserved. * Copyright 2020 Google Inc. All rights reserved.
* *
+1 -1
View File
@@ -1,4 +1,4 @@
// swift-tools-version:5.1 // swift-tools-version:5.9
/* /*
* Copyright 2020 Google Inc. All rights reserved. * Copyright 2020 Google Inc. All rights reserved.
* *
+1 -1
View File
@@ -1,4 +1,4 @@
// swift-tools-version:5.8 // swift-tools-version:5.9
/* /*
* Copyright 2020 Google Inc. All rights reserved. * Copyright 2020 Google Inc. All rights reserved.
* *