Skip to content

build: set up tuist #1164

build: set up tuist

build: set up tuist #1164

Workflow file for this run

name: Linter
on:
push:
branches:
- main
pull_request:
jobs:
lint:
name: Lint Swift code with SwiftFormat
runs-on: macos-14-xlarge
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- name: Run swiftformat
run: swiftformat --lint .
- name: Report error
if: ${{ failure() }}
run: |
echo '::error::SwiftFormat linting failed. Run `Scripts/swiftformat` to format your code.'