diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index dc82144b9d..370a2e52e9 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -5,18 +5,22 @@ on: branches: - main +concurrency: + group: format-${{ github.ref }} + cancel-in-progress: true + jobs: swift_format: name: swift-format - runs-on: macOS-11 + runs-on: macos-12 steps: - uses: actions/checkout@v2 - name: Xcode Select - run: sudo xcode-select -s /Applications/Xcode_13.0.app + run: sudo xcode-select -s /Applications/Xcode_14.0.1.app - name: Tap run: brew tap pointfreeco/formulae - name: Install - run: brew install Formulae/swift-format@5.5 + run: brew install Formulae/swift-format@5.7 - name: Format run: make format - uses: stefanzweifel/git-auto-commit-action@v4