Files
swiftui-math/.github/workflows/format.yml
2026-01-11 12:11:31 +01:00

28 lines
581 B
YAML

name: Format
on:
push:
branches:
- main
concurrency:
group: format-${{ github.ref }}
cancel-in-progress: true
jobs:
swift_format:
name: swift-format
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Select Xcode 26.0
run: sudo xcode-select -s /Applications/Xcode_26.0.app
- 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 }}