Skip to content

Commit bb2a3cb

Browse files
committed
WIP: Test API breakage baseline
1 parent b9ae3b7 commit bb2a3cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
1111
soundness:
1212
name: Soundness
13-
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
13+
uses: ahoppen/github-workflows/.github/workflows/soundness.yml@api-breakage-baseline
1414
with:
1515
api_breakage_check_allowlist_path: "Release Notes/api-breakages.txt"
1616
docs_check_additional_arguments: "--disable-parameters-and-returns-validation"

Sources/SwiftDiagnostics/DiagnosticsFormatter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ public struct DiagnosticsFormatter {
367367
/// - leadingText: text that is prefixed to the list of categories when
368368
/// there is at least one category to print.
369369
public func categoryFootnotes(
370-
_ categories: [DiagnosticCategory],
370+
_ categories: some Sequence<DiagnosticCategory>,
371371
leadingText: String = "\n"
372372
) -> String {
373373
let categoriesInOrder = categories.compactMap { category in

0 commit comments

Comments
 (0)