Skip to content

SwiftFormat

SwiftFormat #29

Workflow file for this run

name: Format
on:
workflow_dispatch:
jobs:
format:
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- name: Install SwiftFormat
run: brew install swiftformat
- name: Run SwiftFormat
run: swiftformat --verbose .
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Run SwiftFormat
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}