Skip to content

Commit 18892e4

Browse files
authored
Create lint.yml
1 parent 9d34b57 commit 18892e4

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Lint code
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '.github/workflows/codelint.yml'
7+
- '.swiftlint.yml'
8+
- '**/*.swift'
9+
10+
jobs:
11+
SwiftLint:
12+
runs-on: macos-11
13+
steps:
14+
- uses: actions/checkout@v1
15+
16+
- name: Lint code using SwiftLint
17+
run: swiftlint lint --reporter github-actions-logging

0 commit comments

Comments
 (0)