From 7733083c3a83f66a960d39dca5f56864bccc674c Mon Sep 17 00:00:00 2001 From: Alexander Ney Date: Sun, 26 May 2024 16:20:21 +0400 Subject: [PATCH] added swiftlint --- .github/workflows/swift.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 21ae770..ff3ec19 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -10,10 +10,15 @@ on: branches: [ "main" ] jobs: - build: - + lint: runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + - name: SwiftFormat + run: swiftformat --lint . --reporter github-actions-log + build: + runs-on: macos-latest steps: - uses: actions/checkout@v4 - name: Build