Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Revert "fix golangci workflow missing gofmt and goimports (#4190)"

Michael Yang4d4f75a8a8a3
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 313d11cbe..9a2544b81 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -269,7 +269,7 @@ jobs:
mkdir -p llm/build/darwin/$ARCH/stub/bin
touch llm/build/darwin/$ARCH/stub/bin/ollama_llama_server
if: ${{ startsWith(matrix.os, 'macos-') }}
- - uses: golangci/golangci-lint-action@v5
+ - uses: golangci/golangci-lint-action@v4
with:
args: --timeout 8m0s -v
test:
diff --git a/.golangci.yaml b/.golangci.yaml
index ba8e81c73..7dec49ded 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -9,8 +9,9 @@ linters:
- contextcheck
- exportloopref
- gocheckcompilerdirectives
- - gofmt
- - goimports
+ # FIXME: for some reason this errors on windows
+ # - gofmt
+ # - goimports
- misspell
- nilerr
- unused