2 parents 7ac4554 + 5eb6819 commit 71b4520Copy full SHA for 71b4520
2 files changed
.github/workflows/swiftformat.yml
@@ -0,0 +1,20 @@
1
+name: SwiftFormat Check
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ main ]
6
7
+jobs:
8
+ swiftformat:
9
+ name: Code Formatting Check
10
+ runs-on: macos-26
11
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
16
+ - name: Install swiftformat
17
+ run: brew install swiftformat
18
19
+ - name: Check code formatting
20
+ run: swiftformat --lint .
.github/workflows/swift.yml .github/workflows/swiftlint.yml.github/workflows/swift.yml renamed to .github/workflows/swiftlint.yml
@@ -1,4 +1,4 @@
-name: SwiftLint
+name: SwiftLint Check
on:
pull_request:
0 commit comments