Skip to content

Commit a58a351

Browse files
committed
add swiftlint workflow
1 parent 945a5ba commit a58a351

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/swiftlint.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: SwiftLint
2+
on:
3+
push:
4+
branches:
5+
- 'main'
6+
paths:
7+
- '.github/workflows/swiftlint.yml'
8+
- '.swiftlint.yml'
9+
- '**/*.swift'
10+
pull_request:
11+
branches:
12+
- 'main'
13+
paths:
14+
- '.github/workflows/swiftlint.yml'
15+
- '.swiftlint.yml'
16+
- '**/*.swift'
17+
jobs:
18+
SwiftLint:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v1
22+
- name: GitHub Action for SwiftLint with --strict
23+
uses: norio-nomura/[email protected]
24+
with:
25+
args: --strict

0 commit comments

Comments
 (0)