Skip to content

Commit

Permalink
Create format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nmdias committed Jan 25, 2025
1 parent 3442b0b commit 756e142
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Format

on:
push:
branches:
- main
jobs:
swift_format:
name: swift format
runs-on: macos-15
permissions:
contents: write
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Select Xcode 16.2
run: sudo xcode-select -s /Applications/Xcode_16.2.app

- name: Run format.sh
run: |
chmod +x ./format.sh
./format.sh
- name: Commit format
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Run format.sh
branch: 'main'

0 comments on commit 756e142

Please sign in to comment.