Skip to content

Commit 1e0fd86

Browse files
authored
[CI] Add soundness check (#824)
1 parent 83a6ed9 commit 1e0fd86

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,10 @@ jobs:
88
tests:
99
name: Test
1010
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
11+
soundness:
12+
name: Soundness
13+
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
14+
with:
15+
format_check_enabled: false
16+
license_header_check_enabled: false
17+
license_header_check_project_name: "Swift.org"

Documentation/PrettyPrinter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,6 @@ sense to place this label on the containing group.
490490

491491
Oppen's algorithm prints the indentation whitespace when `break` tokens are
492492
encountered. If we have extra blank lines in between source code, this can
493-
result in hanging or trailing whitespace. Waiting to print the indentation
493+
result in hanging or trailing whitespace. Waiting to print the indentation <!--# ignore-unacceptable-language -->
494494
whitespace until encountering a `syntax`, `comment, or `verbatim` tokens
495495
prevents this.

Sources/SwiftFormat/PrettyPrint/TokenStreamCreator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
11041104
/// - rightDelimiter: The right parenthesis or bracket surrounding the arguments, if any.
11051105
/// - forcesBreakBeforeRightDelimiter: True if a line break should be forced before the right
11061106
/// right delimiter if a line break occurred after the left delimiter, or false if the right
1107-
/// delimiter is allowed to hang on the same line as the final argument.
1107+
/// delimiter is allowed to hang on the same line as the final argument. # ignore-unacceptable-language
11081108
private func arrangeFunctionCallArgumentList(
11091109
_ arguments: LabeledExprListSyntax,
11101110
leftDelimiter: TokenSyntax?,

0 commit comments

Comments
 (0)