Skip to content

Fix daemon: non-blocking spawn, skip in test binaries #56

Fix daemon: non-blocking spawn, skip in test binaries

Fix daemon: non-blocking spawn, skip in test binaries #56

Workflow file for this run

name: Lint
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
lfs: true
- uses: actions/setup-go@v6
with:
go-version: 'stable'
- uses: jdx/mise-action@v3
- name: Build llama.cpp
run: |
git clone --depth 1 https://github.com/ggml-org/llama.cpp .deps/llama.cpp
cd .deps/llama.cpp
cmake -B build \
-DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_EXAMPLES=OFF \
-DLLAMA_BUILD_SERVER=OFF -DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release -j$(nproc) --target llama --target ggml --target common
- name: Run linters
run: mise run lint
- name: Run golangci-lint (inline feedback)
uses: golangci/golangci-lint-action@v9
with:
version: 'v2.8.0'