Fix format workflow (#329)

This commit is contained in:
Guille Gonzalez
2024-06-16 10:29:09 +02:00
committed by GitHub
parent 993982f257
commit ba61e69dc7

View File

@@ -6,15 +6,13 @@ on:
jobs:
format:
name: swift-format
runs-on: macos-12
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Select Xcode 14.2
run: sudo xcode-select -s /Applications/Xcode_14.2.app
- name: Tap
run: brew tap pointfreeco/formulae
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_15.0.app
- name: Install
run: brew install Formulae/swift-format@5.7
run: brew install swift-format
- name: Format
run: make format
- uses: stefanzweifel/git-auto-commit-action@v4