Skip to content

feat: Add Swift Package Registry tools and config #3436

feat: Add Swift Package Registry tools and config

feat: Add Swift Package Registry tools and config #3436

Workflow file for this run

name: Lint
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
ktlint:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Run ktlint
run: ./gradlew ktlint
swiftlint:
runs-on: ubuntu-latest
container:
image: ghcr.io/realm/swiftlint:0.54.0
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Run swiftlint
run: swiftlint --reporter github-actions-logging