Browse Source

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

This reverts commit 04f971c84b.
brucemacd/tokenize
Michael Yang 2 years ago
committed by GitHub
parent
commit
4d4f75a8a8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/test.yaml
  2. 5
      .golangci.yaml

2
.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:

5
.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

Loading…
Cancel
Save