Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Lint
run: swiftlint lint --quiet
test:
runs-on: macos-latest
runs-on: macos-15
environment: default
steps:
- uses: actions/checkout@v4
Expand Down
23 changes: 4 additions & 19 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.10
// swift-tools-version:6.0

import Foundation
import PackageDescription
Expand All @@ -22,24 +22,21 @@ let package = Package(
targets: [
.target(
name: "CoreDataRepository",
resources: [.process("Resources")],
swiftSettings: .swiftSix
resources: [.process("Resources")]
),
.testTarget(
name: "CoreDataRepositoryTests",
dependencies: [
"CoreDataRepository",
.product(name: "CustomDump", package: "swift-custom-dump"),
"Internal",
],
swiftSettings: .swiftSix
]
),
.target(
name: "Internal",
dependencies: [
"CoreDataRepository",
],
swiftSettings: .swiftSix
]
),
]
)
Expand All @@ -66,18 +63,6 @@ extension [SupportedPlatform] {
}
}

extension [SwiftSetting] {
static let swiftSix: Self = [
.enableUpcomingFeature("BareSlashRegexLiterals"),
.enableUpcomingFeature("ConciseMagicFile"),
.enableUpcomingFeature("DeprecateApplicationMain"),
.enableUpcomingFeature("DisableOutwardActorInference"),
.enableUpcomingFeature("ForwardTrailingClosures"),
.enableUpcomingFeature("ImportObjcForwardDeclarations"),
.enableUpcomingFeature("StrictConcurrency"),
]
}

if ProcessInfo.benchmarkingEnabled {
package.dependencies += [
.package(
Expand Down
Loading