File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,16 @@ concurrency:
1212jobs :
1313 swift_format :
1414 name : swift-format
15- runs-on : macos-13
15+ runs-on : macos-15
16+ permissions :
17+ contents : write
1618 steps :
1719 - uses : actions/checkout@v4
18- - name : Select Xcode 14.3
19- run : sudo xcode-select -s /Applications/Xcode_14.3.app
20- - name : Install swift-format
21- run : brew install swift-format
20+ - name : Select Xcode 16.2
21+ run : sudo xcode-select -s /Applications/Xcode_16.2.app
2222 - name : Format
2323 run : make format
24- - uses : stefanzweifel/git-auto-commit-action@v4
24+ - uses : stefanzweifel/git-auto-commit-action@v5
2525 with :
2626 commit_message : Run swift-format
2727 branch : ' main'
28- env :
29- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ format:
6464 -path ' */Documentation.docc' -prune -o \
6565 -name ' *.swift' \
6666 -not -path ' */.*' -print0 \
67- | xargs -0 swift format --ignore-unparsable-files --in-place
67+ | xargs -0 xcrun swift- format --ignore-unparsable-files --in-place
6868
6969.PHONY : build-for-library-evolution format warm-simulator xcodebuild xcodebuild-raw
7070
You can’t perform that action at this time.
0 commit comments