Skip to content

Commit

Permalink
Merge pull request #11 from juri/sendable
Browse files Browse the repository at this point in the history
Mark Parts as Sendable
  • Loading branch information
juri authored Oct 12, 2024
2 parents 8d30528 + a93367b commit aa7906d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

steps:
- name: Set up Swift
uses: fwal/setup-swift@v1.23.0
uses: swift-actions/setup-swift@v2
with:
swift-version: 5.8
swift-version: "5.10.1"

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build
run: swift build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/swiftformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
SwiftFormat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Swift
uses: fwal/setup-swift@v1.23.0
uses: swift-actions/setup-swift@v2
with:
swift-version: 5.8
swift-version: "5.10.1"

- name: Set up Mint
uses: irgaly/setup-mint@v1
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.8
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/Parse3339/Parse3339.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ private let utc = TimeZone(secondsFromGMT: 0)
// MARK: Parts

/// `Parts` contains the parsed fields from a time stamp.
public struct Parts {
public struct Parts: Sendable {
/// The year.
public let year: Int
/// The month (1–12).
Expand Down

0 comments on commit aa7906d

Please sign in to comment.