Skip to content

update content type #21

update content type

update content type #21

Triggered via push February 24, 2024 10:37
Status Failure
Total duration 30s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 6 warnings
build-test
Process completed with exit code 1.
lint: qwen/content_text.go#L16
underef: could simplify (*t).Text to t.Text (gocritic)
lint: qwen/content_text.go#L21
underef: could simplify (*t).Text to t.Text (gocritic)
lint: qwen/content_text.go#L22
unnecessary conversion (unconvert)
lint
issues found
build-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-test
Restore cache failed: Dependencies file is not found in /home/runner/work/dashscopego/dashscopego. Supported file pattern: go.sum
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3.7.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: qwen/content_audio.go#L74
unused-parameter: parameter 'url' seems to be unused, consider removing or renaming it as _ (revive)
lint: qwen/content_text.go#L39
unused-parameter: parameter 'url' seems to be unused, consider removing or renaming it as _ (revive)
lint: qwen/content_text.go#L43
unused-parameter: parameter 'url' seems to be unused, consider removing or renaming it as _ (revive)