refactor(tests): replace K8sExecInPod with AssertCommand for consistency in test assertions #4928
Annotations
12 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Revive Action on KubeArmor tests:
tests/k8s_env/syscalls/syscalls_test.go#L1
invalid file tests/k8s_env/syscalls/syscalls_test.go: tests/k8s_env/syscalls/syscalls_test.go:63:29: missing ',' before newline in argument list (and 10 more errors)
|
Run Revive Action on KubeArmor tests:
tests/k8s_env/throttling/throttling_test.go#L1
invalid file tests/k8s_env/throttling/throttling_test.go: tests/k8s_env/throttling/throttling_test.go:100:9: missing ',' before newline in argument list
|
Run Revive Action on KubeArmor tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L11
should not use dot imports
|
Run Revive Action on KubeArmor tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L10
should not use dot imports
|
Run Revive Action on KubeArmor tests:
tests/k8s_env/smoke/smoke_test.go#L1
invalid file tests/k8s_env/smoke/smoke_test.go: tests/k8s_env/smoke/smoke_test.go:71:49: missing ',' before newline in argument list (and 10 more errors)
|
Run Revive Action on KubeArmor tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L12
should not use dot imports
|
Run Revive Action on KubeArmor tests:
tests/k8s_env/csp/csp_test.go#L11
should not use dot imports
|
Run Revive Action on KubeArmor tests:
tests/k8s_env/csp/csp_test.go#L10
should not use dot imports
|
Run Revive Action on KubeArmor tests:
tests/k8s_env/blockposture/block_test.go#L1
invalid file tests/k8s_env/blockposture/block_test.go: tests/k8s_env/blockposture/block_test.go:78:55: missing ',' before newline in argument list (and 2 more errors)
|
Run Revive Action on KubeArmor tests:
tests/k8s_env/csp/csp_test.go#L12
should not use dot imports
|
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
Loading