name: Swift format on: push: branches: - main pull_request: paths: - ".github/workflows/swiftfmt.yml" - "**.swift" jobs: swiftfmt: name: Run swift format runs-on: macos-latest steps: - name: Check out code uses: actions/checkout@v4 with: show-progress: false # Re-enable in follow-up PR that does the formatting. # - name: Check formating # run: ./swift-format.sh check