summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ios.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
index aa82aa450b..44404a3f5f 100644
--- a/.github/workflows/ios.yml
+++ b/.github/workflows/ios.yml
@@ -26,6 +26,21 @@ jobs:
swiftformat --version
swiftformat --lint .
+ swiftlint:
+ name: Run swiftlint
+ runs-on: ubuntu-latest
+ container:
+ image: ghcr.io/realm/swiftlint:0.52.4
+
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 1
+
+ - name: SwiftLint
+ run: |
+ swiftlint --reporter github-actions-logging
+
test:
name: Unit tests
runs-on: macos-13