24 lines
417 B
YAML
24 lines
417 B
YAML
name: "Lint 🧹"
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- reopened
|
|
- synchronize
|
|
- ready_for_review
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
name: "Lint 🧹"
|
|
if: github.event.pull_request.draft == false
|
|
runs-on: macos-13
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run Swiftformat
|
|
run: swiftformat . --lint --config ".swiftformat"
|