From 226601a08b844c8e136c783ef59c0c8ff7e54f6e Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Mon, 30 Sep 2024 12:12:02 -0700 Subject: [PATCH 1/2] Replace `Sanity` by `Basic` --- .../PrettyPrint/RespectsExistingLineBreaksTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SwiftFormatTests/PrettyPrint/RespectsExistingLineBreaksTests.swift b/Tests/SwiftFormatTests/PrettyPrint/RespectsExistingLineBreaksTests.swift index 86c5e3cde..65226cf5e 100644 --- a/Tests/SwiftFormatTests/PrettyPrint/RespectsExistingLineBreaksTests.swift +++ b/Tests/SwiftFormatTests/PrettyPrint/RespectsExistingLineBreaksTests.swift @@ -1,6 +1,6 @@ import SwiftFormat -/// Sanity checks and regression tests for the `respectsExistingLineBreaks` configuration setting +/// Basic checks and regression tests for the `respectsExistingLineBreaks` configuration setting /// in both true and false states. final class RespectsExistingLineBreaksTests: PrettyPrintTestCase { func testExpressions() { From 77edc435527a7be49070c48b5a3457c20aae5635 Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Mon, 30 Sep 2024 12:12:12 -0700 Subject: [PATCH 2/2] Quote `$(realpath .)` --- .github/workflows/create-release-commits.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-release-commits.sh b/.github/workflows/create-release-commits.sh index ebde30ed8..81fa8eba9 100755 --- a/.github/workflows/create-release-commits.sh +++ b/.github/workflows/create-release-commits.sh @@ -14,7 +14,7 @@ if [[ -z "$SWIFT_SYNTAX_TAG" || -z "$SWIFT_FORMAT_VERSION" ]]; then fi # Without this, we can't perform git operations in GitHub actions. -git config --global --add safe.directory $(realpath .) +git config --global --add safe.directory "$(realpath .)" git config --local user.name 'swift-ci' git config --local user.email 'swift-ci@users.noreply.github.com'