Skip to content

swift-format

swift-format #34

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: peter-evans/create-pull-request@v6
with:
commit-message: Run SwiftFormat
delete-branch: true
title: Run SwiftFormat
reviewers: ski-u
branch: run-swiftformat
author: actions-user <[email protected]>