Skip to content

Commit 7719f22

Browse files
authored
Update to use Issue Reporting (#104)
* Update to use Issue Reporting * wip * wip
1 parent 4f13966 commit 7719f22

File tree

4 files changed

+27
-18
lines changed

4 files changed

+27
-18
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ on:
1111

1212
jobs:
1313
macos_tests:
14-
runs-on: macos-12
14+
runs-on: macos-14
1515
strategy:
1616
matrix:
1717
xcode:
18-
- "14.2" # Swift 5.7.2
18+
- "15.4"
1919
command:
2020
- test
2121
- benchmarks
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
- name: Select Xcode ${{ matrix.xcode }}
2525
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
2626
- name: System
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ${{ matrix.os }}
3737

3838
steps:
39-
- uses: actions/checkout@v3
39+
- uses: actions/checkout@v4
4040
- name: Build
4141
run: swift build
4242
- name: Run tests

Package.resolved

Lines changed: 19 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ let package = Package(
1717
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.5.0"),
1818
.package(url: "https://github.com/apple/swift-collections", from: "1.0.3"),
1919
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
20+
.package(url: "https://github.com/pointfreeco/swift-issue-reporting", from: "1.2.0"),
2021
.package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.13.0"),
21-
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "1.0.0"),
2222
.package(url: "https://github.com/google/swift-benchmark", from: "0.1.1"),
2323
],
2424
targets: [
2525
.target(
2626
name: "URLRouting",
2727
dependencies: [
28+
.product(name: "IssueReporting", package: "swift-issue-reporting"),
2829
.product(name: "OrderedCollections", package: "swift-collections"),
2930
.product(name: "Parsing", package: "swift-parsing"),
30-
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
3131
]
3232
),
3333
.testTarget(

Sources/URLRouting/Client/Client.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
2+
import IssueReporting
23
import Parsing
3-
import XCTestDynamicOverlay
44

55
#if canImport(FoundationNetworking)
66
import FoundationNetworking
@@ -130,7 +130,7 @@ extension URLRoutingClient {
130130
131131
Use '\(Self.self).override' to supply a default response for this route.
132132
"""
133-
XCTFail(message)
133+
reportIssue(message)
134134
throw UnimplementedEndpoint(message: message)
135135
}
136136
}

0 commit comments

Comments
 (0)