Skip to content

Commit

Permalink
Update dependencies and minimum Swift version to 5.7 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
davdroman authored Sep 13, 2023
1 parent b100db8 commit 8a2805a
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 152 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,21 @@ jobs:
- tvOS
- watchOS
swift:
- 5.5
- 5.6
- 5.7
- 5.8
- 5.9
include:
- swift: 5.7
os: macos-13
- swift: 5.8
os: macos-13
- swift: 5.9
os: macos-13
- action: test
- platform: tvOS
action: build
- platform: watchOS
action: build
- swift: 5.5
os: macos-12
- swift: 5.6
os: macos-12
- swift: 5.7
os: macos-13
- swift: 5.8
os: macos-13
steps:
- uses: actions/checkout@v3
- uses: mxcl/xcodebuild@v2
Expand All @@ -60,10 +57,9 @@ jobs:
fail-fast: false
matrix:
swift:
- 5.5
- 5.6
- 5.7
- 5.8
# - 5.9
container:
image: swift:${{ matrix.swift }}
steps:
Expand Down
132 changes: 65 additions & 67 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,70 +1,68 @@
{
"object": {
"pins": [
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
"state": {
"branch": null,
"revision": "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a",
"version": "1.2.2"
}
},
{
"package": "Benchmark",
"repositoryURL": "https://github.com/google/swift-benchmark",
"state": {
"branch": "main",
"revision": "8163295f6fe82356b0bcf8e1ab991645de17d096",
"version": null
}
},
{
"package": "swift-case-paths",
"repositoryURL": "https://github.com/pointfreeco/swift-case-paths",
"state": {
"branch": null,
"revision": "fc45e7b2cfece9dd80b5a45e6469ffe67fe67984",
"version": "0.14.1"
}
},
{
"package": "swift-custom-dump",
"repositoryURL": "https://github.com/pointfreeco/swift-custom-dump",
"state": {
"branch": null,
"revision": "84b30e1af72e0ffe6dfbfe39d53b8173caacf224",
"version": "0.10.2"
}
},
{
"package": "swift-json-testing",
"repositoryURL": "https://github.com/davdroman/swift-json-testing",
"state": {
"branch": "main",
"revision": "9223048c0e9de244b6ba4f4f81a16828f44db13e",
"version": null
}
},
{
"package": "swift-parsing",
"repositoryURL": "https://github.com/pointfreeco/swift-parsing",
"state": {
"branch": null,
"revision": "c6e2241daa46e5c6e5027a93b161bca6ba692bcc",
"version": "0.12.0"
}
},
{
"package": "xctest-dynamic-overlay",
"repositoryURL": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state": {
"branch": null,
"revision": "4af50b38daf0037cfbab15514a241224c3f62f98",
"version": "0.8.5"
}
"pins" : [
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a",
"version" : "1.2.2"
}
]
},
"version": 1
},
{
"identity" : "swift-benchmark",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/swift-benchmark",
"state" : {
"revision" : "8163295f6fe82356b0bcf8e1ab991645de17d096",
"version" : "0.1.2"
}
},
{
"identity" : "swift-case-paths",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-case-paths",
"state" : {
"revision" : "5da6989aae464f324eef5c5b52bdb7974725ab81",
"version" : "1.0.0"
}
},
{
"identity" : "swift-custom-dump",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-custom-dump",
"state" : {
"revision" : "edd66cace818e1b1c6f1b3349bb1d8e00d6f8b01",
"version" : "1.0.0"
}
},
{
"identity" : "swift-json-testing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/davdroman/swift-json-testing",
"state" : {
"revision" : "de48704db4af7d448bc27aea305b39494fed6eec",
"version" : "0.2.0"
}
},
{
"identity" : "swift-parsing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-parsing",
"state" : {
"revision" : "a0e7d73f462c1c38c59dc40a3969ac40cea42950",
"version" : "0.13.0"
}
},
{
"identity" : "xctest-dynamic-overlay",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state" : {
"revision" : "23cbf2294e350076ea4dbd7d5d047c1e76b03631",
"version" : "1.0.2"
}
}
],
"version" : 2
}
11 changes: 5 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
// swift-tools-version:5.7

import PackageDescription

let package = Package(
name: "PeriodDuration",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.macOS(.v10_15),
.watchOS(.v6),
],
products: [
Expand All @@ -31,7 +30,7 @@ let package = Package(
)

package.dependencies = [
.package(url: "https://github.com/google/swift-benchmark", branch: "main"),
.package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.9.0"),
.package(url: "https://github.com/davdroman/swift-json-testing", branch: "main"),
.package(url: "https://github.com/google/swift-benchmark", from: "0.1.2"),
.package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.13.0"),
.package(url: "https://github.com/davdroman/swift-json-testing", from: "0.2.0"),
]
132 changes: 65 additions & 67 deletions PeriodDuration.xcworkspace/xcshareddata/swiftpm/Package.resolved
Original file line number Diff line number Diff line change
@@ -1,70 +1,68 @@
{
"object": {
"pins": [
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
"state": {
"branch": null,
"revision": "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a",
"version": "1.2.2"
}
},
{
"package": "Benchmark",
"repositoryURL": "https://github.com/google/swift-benchmark",
"state": {
"branch": "main",
"revision": "8163295f6fe82356b0bcf8e1ab991645de17d096",
"version": null
}
},
{
"package": "swift-case-paths",
"repositoryURL": "https://github.com/pointfreeco/swift-case-paths",
"state": {
"branch": null,
"revision": "fc45e7b2cfece9dd80b5a45e6469ffe67fe67984",
"version": "0.14.1"
}
},
{
"package": "swift-custom-dump",
"repositoryURL": "https://github.com/pointfreeco/swift-custom-dump",
"state": {
"branch": null,
"revision": "84b30e1af72e0ffe6dfbfe39d53b8173caacf224",
"version": "0.10.2"
}
},
{
"package": "swift-json-testing",
"repositoryURL": "https://github.com/davdroman/swift-json-testing",
"state": {
"branch": "main",
"revision": "9223048c0e9de244b6ba4f4f81a16828f44db13e",
"version": null
}
},
{
"package": "swift-parsing",
"repositoryURL": "https://github.com/pointfreeco/swift-parsing",
"state": {
"branch": null,
"revision": "c6e2241daa46e5c6e5027a93b161bca6ba692bcc",
"version": "0.12.0"
}
},
{
"package": "xctest-dynamic-overlay",
"repositoryURL": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state": {
"branch": null,
"revision": "4af50b38daf0037cfbab15514a241224c3f62f98",
"version": "0.8.5"
}
"pins" : [
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a",
"version" : "1.2.2"
}
]
},
"version": 1
},
{
"identity" : "swift-benchmark",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/swift-benchmark",
"state" : {
"revision" : "8163295f6fe82356b0bcf8e1ab991645de17d096",
"version" : "0.1.2"
}
},
{
"identity" : "swift-case-paths",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-case-paths",
"state" : {
"revision" : "5da6989aae464f324eef5c5b52bdb7974725ab81",
"version" : "1.0.0"
}
},
{
"identity" : "swift-custom-dump",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-custom-dump",
"state" : {
"revision" : "edd66cace818e1b1c6f1b3349bb1d8e00d6f8b01",
"version" : "1.0.0"
}
},
{
"identity" : "swift-json-testing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/davdroman/swift-json-testing",
"state" : {
"revision" : "de48704db4af7d448bc27aea305b39494fed6eec",
"version" : "0.2.0"
}
},
{
"identity" : "swift-parsing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-parsing",
"state" : {
"revision" : "a0e7d73f462c1c38c59dc40a3969ac40cea42950",
"version" : "0.13.0"
}
},
{
"identity" : "xctest-dynamic-overlay",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state" : {
"revision" : "23cbf2294e350076ea4dbd7d5d047c1e76b03631",
"version" : "1.0.2"
}
}
],
"version" : 2
}

0 comments on commit 8a2805a

Please sign in to comment.