Skip to content

Migrate CLI YAML parsing to maintained libraries #638

Migrate CLI YAML parsing to maintained libraries

Migrate CLI YAML parsing to maintained libraries #638

Triggered via pull request October 1, 2026 10:43
Status Failure
Total duration 2m 4s
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 3 warnings, and 3 notices
Linter
issues found
Linter: internal/editor/yaml_contract_test.go#L57
SA1019: swag.YAMLToJSON is deprecated: use [yamlutils.YAMLToJSON] instead. (staticcheck)
Linter: internal/editor/yaml_contract_test.go#L55
SA1019: swag.BytesToYAMLDoc is deprecated: use [yamlutils.BytesToYAMLDoc] instead. (staticcheck)
Linter: internal/editor/yaml_contract_test.go#L46
SA1019: swag.ReadJSON is deprecated: use [jsonutils.ReadJSON] instead. (staticcheck)
Linter: internal/editor/yaml_contract_test.go#L45
SA1019: swag.JSONMapSlice is deprecated: use [jsonutils.JSONMapSlice] instead, or [yamlutils.YAMLMapSlice] if you marshal YAML. (staticcheck)
Linter: internal/editor/yaml_contract_test.go#L36
SA1019: swag.YAMLToJSON is deprecated: use [yamlutils.YAMLToJSON] instead. (staticcheck)
Linter: internal/editor/yaml_contract_test.go#L17
SA1019: swag.WriteJSON is deprecated: use [jsonutils.WriteJSON] instead. (staticcheck)
Linter: internal/editor/yaml_contract_test.go#L16
SA1019: swag.ReadJSON is deprecated: use [jsonutils.ReadJSON] instead. (staticcheck)
Linter: internal/editor/yaml_contract_test.go#L15
SA1019: swag.JSONMapSlice is deprecated: use [jsonutils.JSONMapSlice] instead, or [yamlutils.YAMLMapSlice] if you marshal YAML. (staticcheck)
Linter: internal/editor/yaml_contract_test.go#L4
File is not properly formatted (goimports)
Go releaser check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5, goreleaser/goreleaser-action@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
License scan
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Linter
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-go@v5, golangci/golangci-lint-action@v8. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Go releaser check
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
License scan
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Linter
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
license_scanning
2.27 KB
sha256:e58b8a178f73abc3f830dbed8f6d1c1dcb6c9346269fafc187c6c6fffa3c3e57