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

This reverts commit 04f971c84b.
This commit is contained in:
Michael Yang
2024-05-07 10:35:44 -07:00
committed by GitHub
parent 3f71ba406a
commit 4d4f75a8a8
2 changed files with 4 additions and 3 deletions

View File

@@ -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:

View File

@@ -9,8 +9,9 @@ linters:
- contextcheck
- exportloopref
- gocheckcompilerdirectives
- gofmt
- goimports
# FIXME: for some reason this errors on windows
# - gofmt
# - goimports
- misspell
- nilerr
- unused