Revert "fix golangci workflow missing gofmt and goimports (#4190)"
This reverts commit 04f971c84b
.
This commit is contained in:
parent
3f71ba406a
commit
4d4f75a8a8
2 changed files with 4 additions and 3 deletions
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue