Skip to content

Commit c121bb7

Browse files
committed
#178 Update GitHub CI
1 parent 0282d1d commit c121bb7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/swiftlint.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,19 @@ jobs:
1313
- name: Lint
1414
run: swift format lint -r ./ --configuration .swift-format
1515

16+
swiftlint:
17+
name: swiftlint
18+
runs-on: macos-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v2
22+
- name: Install Swift
23+
uses: slashmo/[email protected]
24+
with:
25+
version: 6.0.3
26+
- name: Swift Version
27+
run: swift --version
28+
- name: Install SwiftLint
29+
run: brew install swiftlint
30+
- name: Lint
31+
run: swiftlint

0 commit comments

Comments
 (0)