Skip to content

Commit eab4d2c

Browse files
authored
[NONE]: format workflow 수정 (#18)
1 parent 8556589 commit eab4d2c

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/format.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
name: Format
22

3-
# 실행 조건 = push + pull_reqeust
3+
# 실행 조건 = push
44
on:
55
push:
66
branches:
7-
- main
87
- develop
9-
pull_request:
10-
branches:
11-
- main
12-
- develop
13-
8+
149
# 기존 실행중인 work_flow 중지
1510
concurrency:
1611
group: format-${{ github.ref }}
@@ -26,13 +21,13 @@ jobs:
2621
steps:
2722
- uses: actions/checkout@v4
2823

29-
- name: Select Xcode 16.2
30-
run: sudo xcode-select -s /Applications/Xcode_16.2.app
24+
- name: Select Xcode 16.4
25+
run: sudo xcode-select -s /Applications/Xcode_16.4.app
3126

3227
# swift-format 실행
3328
# .swift 파일에 대해서만 실행
3429
- name: Run swift-format
35-
run: xcrun swift format -irp
30+
run: swift format -irp .
3631

3732
- uses: stefanzweifel/git-auto-commit-action@v5
3833
with:

0 commit comments

Comments
 (0)