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