mirror of
https://github.com/gonzalezreal/swift-markdown-ui.git
synced 2026-01-18 17:41:20 +01:00
Fix format workflow (#329)
This commit is contained in:
12
.github/workflows/format.yml
vendored
12
.github/workflows/format.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user