mirror of
https://github.com/pointfreeco/swift-custom-dump.git
synced 2026-04-07 19:17:35 +00:00
* Lock access to keyPathToName for key path printing. * slack release * modernize
32 lines
713 B
YAML
32 lines
713 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-11
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Xcode Select
|
|
run: sudo xcode-select -s /Applications/Xcode_13.0.app
|
|
- name: Tap
|
|
run: brew tap pointfreeco/formulae
|
|
- name: Install
|
|
run: brew install Formulae/swift-format@5.5
|
|
- 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 }}
|