Skip to content

Add Swift Macro Compatibility Check to CI (#3406) #1304

Add Swift Macro Compatibility Check to CI (#3406)

Add Swift Macro Compatibility Check to CI (#3406) #1304

Workflow file for this run

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