Skip to content

Commit eafd792

Browse files
authored
Update format.yml
1 parent b9eeb1a commit eafd792

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/format.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ on:
88
jobs:
99
swift_format:
1010
name: swift-format
11-
runs-on: macOS-latest
11+
runs-on: macOS-11
1212
steps:
1313
- uses: actions/checkout@v2
14+
- name: Xcode Select
15+
run: sudo xcode-select -s /Applications/Xcode_13.0.app
16+
- name: Tap
17+
run: brew tap pointfreeco/formulae
1418
- name: Install
15-
run: brew install swift-format
19+
run: brew install Formulae/swift-format@5.5
1620
- name: Format
1721
run: make format
18-
- uses: stefanzweifel/git-auto-commit-action@v4.1.6
22+
- uses: stefanzweifel/git-auto-commit-action@v4
1923
with:
2024
commit_message: Run swift-format
2125
branch: 'main'

0 commit comments

Comments
 (0)