We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf69999 commit 28a3d80Copy full SHA for 28a3d80
.github/workflows/pull_request_soundness.yml
@@ -127,8 +127,8 @@ jobs:
127
# https://github.com/actions/checkout/issues/766
128
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
129
- name: Run format lint check
130
- run: swift format lint --strict --recursive --parallel .
+ run: git ls-files -z '*.swift' | xargs -0 swift format lint --strict --parallel
131
- name: Run format and check for modified files
132
run: |
133
- swift format format --parallel --recursive --in-place .
134
- git diff-index --quiet HEAD
+ git ls-files -z '*.swift' | xargs -0 swift format format --parallel --in-place
+ GIT_PAGER= git diff --exit-code
0 commit comments