Skip to content

Commit 6867b77

Browse files
authored
Enable the swift-format lint check. (apple#1900)
As of Xcode 26.0.1 atleast it seems to be passing.
1 parent 170b843 commit 6867b77

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,10 @@ jobs:
122122
set -eu
123123
git ls-files -z '*.swift' | xargs -0 swift format format --parallel --in-place
124124
GIT_PAGER='' git diff --exit-code '*.swift'
125-
# Disabled as it produces multiple warnings at the moment.
126-
# - name: Run format lint check
127-
# run: |
128-
# set -eu
129-
# git ls-files -z '*.swift' | xargs -0 swift format lint --strict --parallel
125+
- name: Run format lint check
126+
run: |
127+
set -eu
128+
git ls-files -z '*.swift' | xargs -0 swift format lint --strict --parallel
130129
131130
sanitizer_testing:
132131
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)