Unverified Commit ef4e095d authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

Merge pull request #4232 from ollama/revert-4190-fix/golang-ci

Revert "fix golangci workflow not enable gofmt and goimports"
parents 3f71ba40 4d4f75a8
......@@ -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:
......
......@@ -9,8 +9,9 @@ linters:
- contextcheck
- exportloopref
- gocheckcompilerdirectives
- gofmt
- goimports
# FIXME: for some reason this errors on windows
# - gofmt
# - goimports
- misspell
- nilerr
- unused
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment