We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3442b0b commit 756e142Copy full SHA for 756e142
.github/workflows/format.yml
@@ -0,0 +1,29 @@
1
+name: Format
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+jobs:
8
+ swift_format:
9
+ name: swift format
10
+ runs-on: macos-15
11
+ permissions:
12
+ contents: write
13
+ steps:
14
+ - name: Check out code
15
+ uses: actions/checkout@v4
16
17
+ - name: Select Xcode 16.2
18
+ run: sudo xcode-select -s /Applications/Xcode_16.2.app
19
20
+ - name: Run format.sh
21
+ run: |
22
+ chmod +x ./format.sh
23
+ ./format.sh
24
25
+ - name: Commit format
26
+ uses: stefanzweifel/git-auto-commit-action@v5
27
+ with:
28
+ commit_message: Run format.sh
29
+ branch: 'main'
0 commit comments