diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 6beedf44..1220863a 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -44,8 +44,21 @@ jobs: swift /tmp/cross-pr-checkout.swift "${{ github.repository }}" "${{ github.event.number }}" - name: Build run: swift build --configuration release + - name: Write check script + run: | + cat > /tmp/check-formatting.sh < Void + nonisolated(nonsending) + () async -> Void ) {} func f( _ body: @Foo @Bar - nonisolated(nonsending) () - async -> Void + nonisolated(nonsending) + () async -> Void ) {} func f( @@ -336,8 +336,8 @@ final class FunctionTypeTests: PrettyPrintTestCase { func f( _ body: inout @Foo @Bar - nonisolated(nonsending) () - async -> Void + nonisolated(nonsending) + () async -> Void ) {} """,