Unverified Commit 04f971c8 authored by alwqx's avatar alwqx Committed by GitHub
Browse files

fix golangci workflow missing gofmt and goimports (#4190)

parent 70edb9bc
llm/ext_server/* linguist-vendored llm/ext_server/* linguist-vendored
*.go text eol=lf
\ No newline at end of file
...@@ -269,7 +269,7 @@ jobs: ...@@ -269,7 +269,7 @@ jobs:
mkdir -p llm/build/darwin/$ARCH/stub/bin mkdir -p llm/build/darwin/$ARCH/stub/bin
touch llm/build/darwin/$ARCH/stub/bin/ollama_llama_server touch llm/build/darwin/$ARCH/stub/bin/ollama_llama_server
if: ${{ startsWith(matrix.os, 'macos-') }} if: ${{ startsWith(matrix.os, 'macos-') }}
- uses: golangci/golangci-lint-action@v4 - uses: golangci/golangci-lint-action@v5
with: with:
args: --timeout 8m0s -v args: --timeout 8m0s -v
test: test:
......
...@@ -9,9 +9,8 @@ linters: ...@@ -9,9 +9,8 @@ linters:
- contextcheck - contextcheck
- exportloopref - exportloopref
- gocheckcompilerdirectives - gocheckcompilerdirectives
# FIXME: for some reason this errors on windows - gofmt
# - gofmt - goimports
# - goimports
- misspell - misspell
- nilerr - nilerr
- unused - 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