diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml new file mode 100644 index 00000000..585d357a --- /dev/null +++ b/.github/workflows/linter.yaml @@ -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 \ No newline at end of file