From 08c0cde661d68151babfd0bb31c8f6e347b8a20d Mon Sep 17 00:00:00 2001 From: Max Cobb Date: Tue, 7 Nov 2023 14:29:24 +0000 Subject: [PATCH] add swiftlint action --- .github/workflows/swiftlint.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/swiftlint.yml diff --git a/.github/workflows/swiftlint.yml b/.github/workflows/swiftlint.yml new file mode 100644 index 0000000..4df7a23 --- /dev/null +++ b/.github/workflows/swiftlint.yml @@ -0,0 +1,18 @@ +name: swiftlint + +on: + push: + branches: + - "main" + pull_request: + branches: + - "*" + +jobs: + swiftlint: + runs-on: macos-latest + steps: + - name: Checkout ๐Ÿ›Ž + uses: actions/checkout@v3 + - name: Swift Lint ๐Ÿงน + run: swiftlint --strict