chore: make each package its own go module #1
anthropic.yml
on: pull_request
Matrix: build
Matrix: lint / lint
dependabot
0s
Annotations
23 errors, 3 warnings, and 4 notices
|
lint / lint (ubuntu-latest):
providers/anthropic/anthropic.go#L1
package-comments: should have a package comment (revive)
|
|
lint / lint (ubuntu-latest):
providers/anthropic/anthropic.go#L424
`if msg.Role == ai.MessageRoleUser` has complex nested blocks (complexity: 13) (nestif)
|
|
lint / lint (ubuntu-latest):
providers/anthropic/anthropic.go#L309
`if tool.GetType() == ai.ToolTypeFunction` has complex nested blocks (complexity: 6) (nestif)
|
|
lint / lint (ubuntu-latest):
providers/anthropic/anthropic.go#L221
`if ok` has complex nested blocks (complexity: 12) (nestif)
|
|
lint / lint (ubuntu-latest):
providers/anthropic/anthropic.go#L671
string `thinking` has 3 occurrences, make it a constant (goconst)
|
|
lint / lint (ubuntu-latest):
providers/anthropic/anthropic.go#L663
string `text` has 3 occurrences, make it a constant (goconst)
|
|
lint / lint (ubuntu-latest):
providers/anthropic/anthropic.go#L642
string `tool_use` has 4 occurrences, make it a constant (goconst)
|
|
lint / lint (ubuntu-latest):
providers/anthropic/anthropic.go#L534
missing cases in switch of type ai.ContentType: ai.ContentTypeFile, ai.ContentTypeSource (exhaustive)
|
|
lint / lint (ubuntu-latest):
providers/anthropic/anthropic.go#L431
missing cases in switch of type ai.ContentType: ai.ContentTypeReasoning, ai.ContentTypeSource, ai.ContentTypeToolCall, ai.ContentTypeToolResult (exhaustive)
|
|
lint / lint (ubuntu-latest):
providers/anthropic/anthropic.go#L396
missing cases in switch of type ai.MessageRole: ai.MessageRoleTool (exhaustive)
|
|
lint / lint (macos-latest):
providers/anthropic/anthropic.go#L1
package-comments: should have a package comment (revive)
|
|
lint / lint (macos-latest):
providers/anthropic/anthropic.go#L424
`if msg.Role == ai.MessageRoleUser` has complex nested blocks (complexity: 13) (nestif)
|
|
lint / lint (macos-latest):
providers/anthropic/anthropic.go#L309
`if tool.GetType() == ai.ToolTypeFunction` has complex nested blocks (complexity: 6) (nestif)
|
|
lint / lint (macos-latest):
providers/anthropic/anthropic.go#L221
`if ok` has complex nested blocks (complexity: 12) (nestif)
|
|
lint / lint (macos-latest):
providers/anthropic/anthropic.go#L671
string `thinking` has 3 occurrences, make it a constant (goconst)
|
|
lint / lint (macos-latest):
providers/anthropic/anthropic.go#L663
string `text` has 3 occurrences, make it a constant (goconst)
|
|
lint / lint (macos-latest):
providers/anthropic/anthropic.go#L642
string `tool_use` has 4 occurrences, make it a constant (goconst)
|
|
lint / lint (macos-latest):
providers/anthropic/anthropic.go#L534
missing cases in switch of type ai.ContentType: ai.ContentTypeFile, ai.ContentTypeSource (exhaustive)
|
|
lint / lint (macos-latest):
providers/anthropic/anthropic.go#L431
missing cases in switch of type ai.ContentType: ai.ContentTypeReasoning, ai.ContentTypeSource, ai.ContentTypeToolCall, ai.ContentTypeToolResult (exhaustive)
|
|
lint / lint (macos-latest):
providers/anthropic/anthropic.go#L396
missing cases in switch of type ai.MessageRole: ai.MessageRoleTool (exhaustive)
|
|
lint / lint (macos-latest)
The strategy configuration was canceled because "lint.lint.ubuntu-latest" failed
|
|
lint / lint (windows-latest)
The operation was canceled.
|
|
lint / lint (windows-latest)
The strategy configuration was canceled because "lint.lint.ubuntu-latest" failed
|
|
lint / lint (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/ai/ai. Supported file pattern: go.sum
|
|
lint / lint (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/ai/ai. Supported file pattern: go.sum
|
|
lint / lint (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\ai\ai. Supported file pattern: go.sum
|
|
lint / lint (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
lint / lint (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
|
build (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
build (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|