Skip to content

Commit 62da8d9

Browse files
authored
Drop Swift 5.9 (#194)
Motivation: Swift 5.9 is no longer supported, we should bump the tools version and remove it from our CI. Modifications: * Bump the Swift tools version to Swift 5.10 * Remove Swift 5.9 jobs where appropriate in main.yml, pull_request.yml Result: Code reflects our support window.
1 parent 434af11 commit 62da8d9

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
name: Unit tests
1212
uses: ./.github/workflows/unit_tests.yml
1313
with:
14-
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error"
1514
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
1615
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
1716
linux_6_1_arguments_override: "--explicit-target-dependency-import-check error"

.github/workflows/pull_request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
name: Unit tests
1717
uses: ./.github/workflows/unit_tests.yml
1818
with:
19-
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error"
2019
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
2120
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
2221
linux_6_1_arguments_override: "--explicit-target-dependency-import-check error"

.github/workflows/unit_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
inputs:
66
linux_5_9_enabled:
77
type: boolean
8-
description: "Boolean to enable the Linux 5.9 Swift version matrix job. Defaults to true."
9-
default: true
8+
description: "Boolean to enable the Linux 5.9 Swift version matrix job. Defaults to false."
9+
default: false
1010
linux_5_9_arguments_override:
1111
type: string
1212
description: "The arguments passed to swift test in the Linux 5.9 Swift version matrix job."

Benchmarks/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.7
1+
// swift-tools-version:5.10
22
//===----------------------------------------------------------------------===//
33
//
44
// This source file is part of the swift-kafka-client open source project

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.9
1+
// swift-tools-version:5.10
22
//===----------------------------------------------------------------------===//
33
//
44
// This source file is part of the swift-kafka-client open source project

0 commit comments

Comments
 (0)