Skip to content

Commit 3c59f6f

Browse files
authored
Merge pull request #37 from roanutil/feature/swift-testing
Feature/swift testing
2 parents 4c001f3 + b6602eb commit 3c59f6f

17 files changed

Lines changed: 4893 additions & 4263 deletions

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Lint
2727
run: swiftlint lint --quiet
2828
test:
29-
runs-on: macos-latest
29+
runs-on: macos-15
3030
environment: default
3131
steps:
3232
- uses: actions/checkout@v4

Package.swift

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.10
1+
// swift-tools-version:6.0
22

33
import Foundation
44
import PackageDescription
@@ -22,24 +22,21 @@ let package = Package(
2222
targets: [
2323
.target(
2424
name: "CoreDataRepository",
25-
resources: [.process("Resources")],
26-
swiftSettings: .swiftSix
25+
resources: [.process("Resources")]
2726
),
2827
.testTarget(
2928
name: "CoreDataRepositoryTests",
3029
dependencies: [
3130
"CoreDataRepository",
3231
.product(name: "CustomDump", package: "swift-custom-dump"),
3332
"Internal",
34-
],
35-
swiftSettings: .swiftSix
33+
]
3634
),
3735
.target(
3836
name: "Internal",
3937
dependencies: [
4038
"CoreDataRepository",
41-
],
42-
swiftSettings: .swiftSix
39+
]
4340
),
4441
]
4542
)
@@ -66,18 +63,6 @@ extension [SupportedPlatform] {
6663
}
6764
}
6865

69-
extension [SwiftSetting] {
70-
static let swiftSix: Self = [
71-
.enableUpcomingFeature("BareSlashRegexLiterals"),
72-
.enableUpcomingFeature("ConciseMagicFile"),
73-
.enableUpcomingFeature("DeprecateApplicationMain"),
74-
.enableUpcomingFeature("DisableOutwardActorInference"),
75-
.enableUpcomingFeature("ForwardTrailingClosures"),
76-
.enableUpcomingFeature("ImportObjcForwardDeclarations"),
77-
.enableUpcomingFeature("StrictConcurrency"),
78-
]
79-
}
80-
8166
if ProcessInfo.benchmarkingEnabled {
8267
package.dependencies += [
8368
.package(

0 commit comments

Comments
 (0)