Skip to content

lint: fix auto-fixable issues #1

lint: fix auto-fixable issues

lint: fix auto-fixable issues #1

Triggered via push August 29, 2025 17:13
Status Failure
Total duration 48s
Artifacts

lint.yml

on: push
Matrix: lint / lint
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 3 warnings, and 2 notices
lint / lint (macos-latest): providers/openai.go#L923
missing cases in switch of type ai.ContentType: ai.ContentTypeReasoning, ai.ContentTypeSource, ai.ContentTypeToolCall, ai.ContentTypeToolResult (exhaustive)
lint / lint (macos-latest): providers/openai.go#L845
missing cases in switch of type ai.ToolChoice: ai.ToolChoiceRequired (exhaustive)
lint / lint (macos-latest): providers/anthropic.go#L563
missing cases in switch of type ai.ContentType: ai.ContentTypeFile, ai.ContentTypeSource (exhaustive)
lint / lint (macos-latest): providers/anthropic.go#L460
missing cases in switch of type ai.ContentType: ai.ContentTypeReasoning, ai.ContentTypeSource, ai.ContentTypeToolCall, ai.ContentTypeToolResult (exhaustive)
lint / lint (macos-latest): providers/anthropic.go#L425
missing cases in switch of type ai.MessageRole: ai.MessageRoleTool (exhaustive)
lint / lint (macos-latest): agent.go#L1034
missing cases in switch of type ai.StreamPartType: ai.StreamPartTypeToolResult (exhaustive)
lint / lint (macos-latest): providers/anthropic.go#L778
Error return value of `acc.Accumulate` is not checked (errcheck)
lint / lint (macos-latest): agent.go#L837
Error return value is not checked (errcheck)
lint / lint (macos-latest): agent.go#L811
Error return value is not checked (errcheck)
lint / lint (macos-latest): agent.go#L770
Error return value is not checked (errcheck)
lint / lint (windows-latest)
The operation was canceled.
lint / lint (windows-latest)
The strategy configuration was canceled because "lint.lint.macos-latest" failed
lint / lint (ubuntu-latest)
The operation was canceled.
lint / lint (ubuntu-latest)
The strategy configuration was canceled because "lint.lint.macos-latest" failed
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 (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)
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