Skip to content

Commit

Permalink
feat: update swift version
Browse files Browse the repository at this point in the history
  • Loading branch information
MaraMincho committed Dec 28, 2024
1 parent 2c6c017 commit d2436a6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
- name: Build and Test Project
run: |
cd SwiftErrorArchiver
swift build --package-path SwiftErrorArchiver/
swift test --package-path SwiftErrorArchiver/
swift build /
swift test /
6 changes: 3 additions & 3 deletions SwiftErrorArchiver/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ let package = Package(
name: "SwiftErrorArchiver",
targets: ["SwiftErrorArchiver"]
),
],
targets: [
], targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
Expand All @@ -22,5 +21,6 @@ let package = Package(
name: "SwiftErrorArchiverTests",
dependencies: ["SwiftErrorArchiver"]
),
]
],
swiftLanguageModes: [.v6, .v5]
)
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import Foundation
import OSLog

public enum SwiftErrorArchiverLogger {
private static let logger = Logger()
public enum SwiftErrorArchiverLogger: Sendable {
private nonisolated(unsafe) static let logger = Logger()
static func debug(message: String? = nil, dumpObject: Any? = nil) {
logger.debug("\(makeLogMessage(message: message, dumpObject: dumpObject))")
}
Expand Down

0 comments on commit d2436a6

Please sign in to comment.