Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
04f971c8
"tests/vscode:/vscode.git/clone" did not exist on "5e6a7a5771f323f1e8cd3c59ea1d00fc0307f20a"
Unverified
Commit
04f971c8
authored
May 08, 2024
by
alwqx
Committed by
GitHub
May 07, 2024
Browse files
fix golangci workflow missing gofmt and goimports (#4190)
parent
70edb9bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
.gitattributes
.gitattributes
+1
-0
.github/workflows/test.yaml
.github/workflows/test.yaml
+1
-1
.golangci.yaml
.golangci.yaml
+2
-3
No files found.
.gitattributes
View file @
04f971c8
llm/ext_server/* linguist-vendored
*.go text eol=lf
\ No newline at end of file
.github/workflows/test.yaml
View file @
04f971c8
...
...
@@ -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@v
4
-
uses
:
golangci/golangci-lint-action@v
5
with
:
args
:
--timeout 8m0s -v
test
:
...
...
.golangci.yaml
View file @
04f971c8
...
...
@@ -9,9 +9,8 @@ linters:
-
contextcheck
-
exportloopref
-
gocheckcompilerdirectives
# FIXME: for some reason this errors on windows
# - gofmt
# - goimports
-
gofmt
-
goimports
-
misspell
-
nilerr
-
unused
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment