Skip to content

ci: Add open-source infrastructure (CI/CD, templates, linting, docs) #2

ci: Add open-source infrastructure (CI/CD, templates, linting, docs)

ci: Add open-source infrastructure (CI/CD, templates, linting, docs) #2

Workflow file for this run

name: Code Quality
on:
pull_request:
branches: [main]
jobs:
swiftlint:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Install SwiftLint
run: brew install swiftlint
- name: Run SwiftLint
run: swiftlint lint --strict --reporter github-actions-logging
swiftformat:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Install SwiftFormat
run: brew install swiftformat
- name: Check SwiftFormat
run: swiftformat --lint .