Skip to content

Merge pull request #35 from noppefoxwolf/swift-5.9 #30

Merge pull request #35 from noppefoxwolf/swift-5.9

Merge pull request #35 from noppefoxwolf/swift-5.9 #30

Workflow file for this run

name: Format
on:
workflow_dispatch:
push:
branches:
- main
jobs:
swift_format:
name: swift-format
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Tap
run: brew tap pointfreeco/formulae
- name: Install
run: brew install Formulae/[email protected]
- name: Format
run: make format
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Run swift-format
branch: "main"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}