Skip to content

Commit 66e8514

Browse files
committed
remove Swift 5
1 parent 5b56732 commit 66e8514

9 files changed

+4
-2388
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -60,33 +60,6 @@ jobs:
6060
- name: Test
6161
run: swift test --skip-build
6262

63-
xcode_15_4:
64-
runs-on: macos-14
65-
env:
66-
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
67-
steps:
68-
- name: Checkout
69-
uses: actions/checkout@v4
70-
- name: Version
71-
run: swift --version
72-
- name: Build
73-
run: swift build --build-tests
74-
- name: Test
75-
run: swift test --skip-build
76-
77-
linux_swift_5_10:
78-
runs-on: ubuntu-latest
79-
container: swift:5.10
80-
steps:
81-
- name: Checkout
82-
uses: actions/checkout@v4
83-
- name: Version
84-
run: swift --version
85-
- name: Build
86-
run: swift build --build-tests
87-
- name: Test
88-
run: swift test --skip-build
89-
9063
linux_swift_6_0:
9164
runs-on: ubuntu-latest
9265
container: swift:6.0
@@ -126,16 +99,15 @@ jobs:
12699
- name: Test
127100
run: swift test --skip-build
128101

129-
windows_swift_6_1:
102+
windows_swift_6_2:
130103
runs-on: windows-latest
131104
steps:
132105
- name: Checkout
133106
uses: actions/checkout@v4
134107
- name: Install Swift
135108
uses: SwiftyLab/setup-swift@latest
136109
with:
137-
swift-version: "6.1.2"
138-
visual-studio-components: Microsoft.VisualStudio.Component.Windows11SDK.22621
110+
swift-version: "6.2"
139111
- name: Version
140112
run: swift --version
141113
- name: Build

[email protected]

Lines changed: 0 additions & 38 deletions
This file was deleted.

Tests/KeyValueDecoderTests.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
// SOFTWARE.
3030
//
3131

32-
#if canImport(Testing)
3332
@testable import KeyValueCoder
3433

3534
import Foundation
@@ -1204,4 +1203,3 @@ private extension JSONEncoder {
12041203
}
12051204
}
12061205
#endif
1207-
#endif

0 commit comments

Comments
 (0)