Skip to content

CONFIG: Update swift-format rules (#217) #394

CONFIG: Update swift-format rules (#217)

CONFIG: Update swift-format rules (#217) #394

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
push:
branches:
- main
paths:
- ".github/workflows/lint.yml"
- ".swift-format"
- "**/*.swift"
workflow_dispatch:
concurrency:
group: "lint-${{ github.head_ref || github.run_id }}"
cancel-in-progress: true
env:
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer
jobs:
swiftFormat:
name: swift-format
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: SwiftFormat
run: swift format lint -r -p --strict .