Skip to content

Spell check GitHub action #951

Spell check GitHub action

Spell check GitHub action #951

Workflow file for this run

name: Format check
defaults:
run:
shell: bash -eo pipefail {0}
on:
push:
branches: [ main ]
paths-ignore:
- "Docs/**"
- "**.md"
- "README.md"
- "LICENSE"
- ".gitignore"
pull_request:
branches: [ "**" ]
paths-ignore:
- "Docs/**"
- "**.md"
- "README.md"
- "LICENSE"
- ".gitignore"
jobs:
build:
name: Format check
runs-on: macos-latest
steps:
- name: install swift-format
run: |
brew install swift-format
- name: Checkout
uses: actions/checkout@v3
- name: Check code format
run: swift-format lint -r --configuration .swift-format.json -p Sources Tests Package.swift