Skip to content

merge kic test

merge kic test #3579

Triggered via pull request October 3, 2023 15:07
Status Failure
Total duration 1m 10s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
test: file/writer_test.go#L405
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
test: file/types.go#L32
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
test: file/types.go#L758
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
test: file/kong2kic.go#L287
string `Secret` has 7 occurrences, make it a constant (goconst)
test: file/kong2kic.go#L200
string `configuration.konghq.com/v1` has 10 occurrences, make it a constant (goconst)
test: file/kong2kic.go#L249
string `KongPlugin` has 4 occurrences, make it a constant (goconst)
test: file/kong2kic.go#L495
string `KongIngress` has 3 occurrences, make it a constant (goconst)
test: file/kong2kic.go#L689
File is not `gofmt`-ed with `-s` (gofmt)
test: file/kong2kic.go#L180
File is not `gofumpt`-ed (gofumpt)
test: file/kong2kic.go#L194
File is not `gofumpt`-ed (gofumpt)
test: file/kong2kic_test.go#L15
var-naming: struct field outputFilenameJsonCRD should be outputFilenameJSONCRD (revive)
test: file/kong2kic_test.go#L16
var-naming: struct field outputFilenameJsonAnnotation should be outputFilenameJSONAnnotation (revive)
test: file/types.go#L33
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
test: file/types.go#L34
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
test: file/kong2kic.go#L45
empty-block: this block is empty, you can remove it (revive)
test: file/kong2kic.go#L31
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
test: file/types.go#L867
var-naming: method marshalKICContentToJson should be marshalKICContentToJSON (revive)
test: file/kong2kic.go#L833
redefines-builtin-id: redefinition of the built-in type error (revive)
test: file/kong2kic.go#L869
redefines-builtin-id: redefinition of the built-in type error (revive)
test: file/kong2kic.go#L1011
redefines-builtin-id: redefinition of the built-in type error (revive)
test
Restore cache failed: Dependencies file is not found in /home/runner/work/deck/deck. Supported file pattern: go.sum