Jelajahi Sumber

Enable the swift-format lint check. (#1900)

As of Xcode 26.0.1 atleast it seems to be passing.
Thomas Van Lenten 4 bulan lalu
induk
melakukan
6867b77cbc
1 mengubah file dengan 4 tambahan dan 5 penghapusan
  1. 4 5
      .github/workflows/build.yml

+ 4 - 5
.github/workflows/build.yml

@@ -122,11 +122,10 @@ jobs:
         set -eu
         git ls-files -z '*.swift' | xargs -0 swift format format --parallel --in-place
         GIT_PAGER='' git diff --exit-code '*.swift'
-    # Disabled as it produces multiple warnings at the moment.
-    # - name: Run format lint check
-    #   run:  |
-    #     set -eu
-    #     git ls-files -z '*.swift' | xargs -0 swift format lint --strict --parallel
+    - name: Run format lint check
+      run:  |
+        set -eu
+        git ls-files -z '*.swift' | xargs -0 swift format lint --strict --parallel
 
   sanitizer_testing:
     runs-on: ubuntu-latest