-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Daiki Matsudate <[email protected]>
- Loading branch information
Daiki Matsudate
committed
Mar 12, 2024
1 parent
95740aa
commit 50664ff
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Format | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
swift_format: | ||
name: swift-format | ||
runs-on: macOS-14 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Xcode Select | ||
run: sudo xcode-select -s /Applications/Xcode_15.2.app | ||
- name: Install | ||
run: brew install swift-format | ||
- name: Format | ||
run: make format | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "[ci skip] Run swift-format" | ||
branch: "main" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES | ||
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES |