Testing #2
ci-test-go.yml
on: pull_request
go-fmt
14s
go-lint
25s
go-lint-tests
31s
go-sec
2m 6s
go-vuln
1m 3s
go-test
1m 52s
license
27s
Annotations
26 errors and 27 warnings
go-fmt
missing ',' before newline in argument list
|
go-fmt
expected operand, found 'return'
|
go-fmt
missing ',' in argument list
|
go-fmt
missing ',' in argument list
|
go-fmt
expected '==', found '='
|
go-fmt
expected operand, found 'if'
|
go-fmt
missing ',' before newline in composite literal
|
go-fmt
missing ',' before newline in argument list
|
go-fmt
missing ',' before newline in argument list
|
go-fmt
expected operand, found '}'
|
go-vuln:
KubeArmor/main.go#L41
missing ',' before newline in argument list
|
go-vuln:
KubeArmor/main.go#L42
expected operand, found 'return'
|
go-vuln:
KubeArmor/main.go#L42
missing ',' in argument list
|
go-vuln:
KubeArmor/main.go#L42
expected operand, found newline
|
go-vuln:
KubeArmor/main.go#L49
missing ',' in argument list
|
go-vuln:
KubeArmor/main.go#L49
missing ',' in argument list
|
go-vuln:
KubeArmor/main.go#L49
expected operand, found 'range'
|
go-vuln:
KubeArmor/main.go#L54
missing ',' in argument list
|
go-vuln:
KubeArmor/main.go#L54
missing ',' in argument list
|
go-vuln:
KubeArmor/main.go#L54
missing ',' in argument list
|
go-test
syntax error: unexpected newline in argument list; possibly missing comma or )
|
go-test
syntax error: unexpected return at end of statement
|
go-test
Process completed with exit code 1.
|
go-sec
syntax error: unexpected newline in argument list; possibly missing comma or )
|
go-sec
syntax error: unexpected return at end of statement
|
go-sec
Process completed with exit code 2.
|
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-lint:
KubeArmor/presets/base/basePreset.go#L15
don't use ALL_CAPS in Go names; use CamelCase
|
go-lint:
KubeArmor/main.go#L1
invalid file KubeArmor/main.go: KubeArmor/main.go:41:68: missing ',' before newline in argument list (and 10 more errors)
|
go-lint:
KubeArmor/policy/policy.go#L17
type name will be used as policy.PolicyServer by other packages, and that stutters; consider calling this Server
|
go-lint:
KubeArmor/policy/policy.go#L26
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/policy/policy.go#L58
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/cert/tls.go#L19
type TlsConfig should be TLSConfig
|
go-lint:
KubeArmor/cert/tls.go#L37
type TlsCredentialManager should be TLSCredentialManager
|
go-lint:
KubeArmor/cert/tls.go#L41
func NewTlsCredentialManager should be NewTLSCredentialManager
|
go-lint:
KubeArmor/cert/tls.go#L74
method CreateTlsClientCredentials should be CreateTLSClientCredentials
|
go-lint:
KubeArmor/state/stateAgent.go#L42
type name will be used as state.StateAgent by other packages, and that stutters; consider calling this Agent
|
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|
go-lint-tests:
tests/k8s_env/presets/presets_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/presets/presets_test.go#L13
should not use dot imports
|
go-lint-tests:
tests/k8s_env/presets/presets_test.go#L14
should not use dot imports
|
go-lint-tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L13
should not use dot imports
|
go-lint-tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L14
should not use dot imports
|
go-lint-tests:
tests/k8s_env/privileged/privileged_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/privileged/privileged_suite_test.go#L9
should not use dot imports
|
go-lint-tests:
tests/k8s_env/blockposture/block_test.go#L11
should not use dot imports
|
go-lint-tests:
tests/k8s_env/privileged/privileged_test.go#L13
should not use dot imports
|
go-lint-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-vuln
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|