Skip to content

feat: refactor CI tests - WPB-11406 #11582

feat: refactor CI tests - WPB-11406

feat: refactor CI tests - WPB-11406 #11582

Workflow file for this run

name: SwiftLint
on:
pull_request:
types: [opened, synchronize, edited, ready_for_review]
merge_group:
types: [checks_requested]
# This is what will cancel the workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
SwiftLint:
runs-on: ubuntu-latest
if: >
github.event.action != 'edited' || (
github.event.changes.title == null &&
github.event.changes.body == null &&
github.event.changes.assignees == null &&
github.event.changes.reviewers == null &&
github.event.changes.labels == null
)
container:
image: ghcr.io/realm/swiftlint:0.57.0
steps:
- uses: actions/checkout@v4
- name: GitHub Action for SwiftLint
run: |
swiftlint --reporter github-actions-logging --strict --quiet