diff --git a/.github/workflows/lint-pr.yaml b/.github/workflows/lint-pr.yaml new file mode 100644 index 00000000..2b79c81a --- /dev/null +++ b/.github/workflows/lint-pr.yaml @@ -0,0 +1,17 @@ +name: "Lint 🧹" + +on: + pull-request: + branches: [ main ] + +jobs: + build: + name: "Lint 🧹" + runs-on: macos-latest + + steps: + - name: Checkout + uses: actions/checkout@v2.3.4 + + - name: Run SwiftLint + run: swiftlint