Skip to content

Commit 0e9b9db

Browse files
feature: Adds format lint action
1 parent 4b6bfc6 commit 0e9b9db

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13+
formatlint:
14+
name: Lint for correct formatting
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: sinoru/actions-setup-swift@v2
19+
with:
20+
swift-version: '5.6.1'
21+
- name: GitHub Action for SwiftFormat
22+
uses: CassiusPacheco/[email protected]
23+
with:
24+
swiftformat-version: '0.49.11'
25+
1326
macos:
1427
name: Build and test on macos-latest
1528
runs-on: macOS-latest

0 commit comments

Comments
 (0)