Skip to content

chore: replaced kin-openapi library with libopenapi #534

chore: replaced kin-openapi library with libopenapi

chore: replaced kin-openapi library with libopenapi #534

Triggered via pull request August 14, 2024 11:11
Status Failure
Total duration 3m 23s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: patch/deckpatch.go#L160
S1009: should omit nil check; len() for []*github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath.Path is defined as zero (gosimple)
lint: yamlbasics/selectors.go#L49
S1009: should omit nil check; len() for []*github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath.Path is defined as zero (gosimple)
lint: yamlbasics/selectors.go#L70
S1009: should omit nil check; len() for []*github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath.Path is defined as zero (gosimple)
lint: namespace/namespace_host.go#L18
param clear has same name as predeclared identifier (predeclared)
lint: namespace/namespace_host.go#L57
param clear has same name as predeclared identifier (predeclared)
lint: openapi2kong/service_test.go#L119
printf: non-constant format string in call to (*testing.common).Errorf (govet)
lint: openapi2kong/service_test.go#L40
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
lint: openapi2kong/service_test.go#L74
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
lint: openapi2kong/service_test.go#L104
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/go-apiops/go-apiops. Supported file pattern: go.sum