Skip to content

Commit 2b5d640

Browse files
authored
DocC + swift-format (#765)
* DocC and swift-format support * wip * wip * wip
1 parent fb3a21f commit 2b5d640

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+5200
-4875
lines changed

.github/workflows/format.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Format
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency:
9+
group: format-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
swift_format:
14+
name: swift-format
15+
runs-on: macos-12
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Xcode Select
19+
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app
20+
- name: Install
21+
run: brew install swift-format
22+
- name: Format
23+
run: make format
24+
- uses: stefanzweifel/git-auto-commit-action@v4
25+
with:
26+
commit_message: Run swift-format
27+
branch: 'main'
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)