feat: add GitHub action for SwiftLint

This commit is contained in:
Serhiy Mytrovtsiy
2021-06-11 17:28:22 +02:00
parent d55e9bc4c3
commit 3813c33d71

21
.github/workflows/linter.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Linter
on:
push:
paths:
- '.github/workflows/linter.yaml'
- '.swiftlint.yml'
- '**/*.swift'
pull_request:
paths:
- '.github/workflows/linter.yaml'
- '.swiftlint.yml'
- '**/*.swift'
jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: norio-nomura/action-swiftlint@3.2.1