Skip to content

Commit 0166b81

Browse files
feature: Adds lint CI test
1 parent c0480dc commit 0166b81

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ on:
66
pull_request:
77
branches: [ main ]
88
jobs:
9+
formatlint:
10+
name: Format linting
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: sinoru/actions-setup-swift@v2
15+
with:
16+
swift-version: '5.6.1'
17+
- name: GitHub Action for SwiftFormat
18+
uses: CassiusPacheco/action-swiftformat@v0.1.0
19+
with:
20+
swiftformat-version: '0.49.17'
921
macos-build:
1022
name: Build and test on ${{ matrix.os }}
1123
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)