From e6de97a8d0ed1e18a8cd04eb13d1d86f34e5f853 Mon Sep 17 00:00:00 2001 From: Mattt Zmuda Date: Mon, 19 Jan 2026 11:04:26 -0800 Subject: [PATCH] Add lint step to CI workflow --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 700f8b9..5ba476a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,9 @@ jobs: restore-keys: | ${{ runner.os }}-swift-${{ matrix.swift }}-spm- + - name: Lint + run: swift format lint --strict --recursive . + - name: Build run: swift build --build-tests --traits MLX,Llama,CoreML @@ -65,6 +68,9 @@ jobs: with: toolchain: ${{ matrix.swift-version }} + - name: Lint + run: swift format lint --strict --recursive . + - name: Build run: swift build