Add comprehensive testing workflow for PR checks #4
pr-checks.yml
on: pull_request
Test
47s
Lint
20s
Security Scan
41s
Code Quality Checks
33s
Dependency Review
7s
Matrix: Build
Annotations
22 errors and 1 warning
|
Lint:
pkg/components/cni/cni_setup_uninstaller.go#L26
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint:
pkg/components/cni/cni_setup_installer.go#L37
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint:
pkg/components/cni/cni.go#L77
cyclomatic complexity 24 of func `(*Manager).ExecuteCNIPlugins` is high (> 15) (gocyclo)
|
|
Lint:
pkg/components/cluster_credentials/cluster_credentials_uninstaller.go#L1
var-naming: don't use an underscore in package name (revive)
|
|
Lint:
pkg/components/cluster_credentials/cluster_credentials_uninstaller.go#L50
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint:
pkg/components/cluster_credentials/cluster_credentials_installer.go#L1
var-naming: don't use an underscore in package name (revive)
|
|
Lint:
pkg/components/cluster_credentials/cluster_credentials_installer.go#L76
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint:
pkg/components/cluster_credentials/cluster_credentials_uninstaller.go#L31
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint:
pkg/components/cluster_credentials/cluster_credentials_installer.go#L37
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint:
pkg/components/cluster_credentials/consts.go#L1
var-naming: don't use an underscore in package name (revive)
|
|
Code Quality Checks:
pkg/components/arc/arc_installer.go#L159
error strings should not be capitalized (ST1005)
|
|
Code Quality Checks:
pkg/components/arc/arc_installer.go#L129
error strings should not be capitalized (ST1005)
|
|
Code Quality Checks:
pkg/components/arc/arc_installer.go#L97
error strings should not be capitalized (ST1005)
|
|
Code Quality Checks:
pkg/components/arc/arc_installer.go#L75
error strings should not be capitalized (ST1005)
|
|
Code Quality Checks:
pkg/components/arc/arc_installer.go#L64
error strings should not be capitalized (ST1005)
|
|
Code Quality Checks:
pkg/components/arc/arc_installer.go#L55
error strings should not be capitalized (ST1005)
|
|
Code Quality Checks:
pkg/components/arc/arc_installer.go#L48
error strings should not be capitalized (ST1005)
|
|
Code Quality Checks:
pkg/components/arc/arc_base.go#L175
func (*Base).cleanUpARCAgent is unused (U1000)
|
|
Code Quality Checks:
pkg/auth/auth.go#L93
error strings should not be capitalized (ST1005)
|
|
Code Quality Checks:
pkg/auth/auth.go#L87
error strings should not be capitalized (ST1005)
|
|
Security Scan
Unable to upload "results.sarif" as it is not valid SARIF:
- instance.runs[0].results[4].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[5].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[6].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[7].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[8].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[9].fixes[0].artifactChanges is not of a type(s) array
|
|
Test
Process completed with exit code 1.
|
|
Security Scan
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage-report
Expired
|
55.1 KB |
sha256:44474e4d07d3566f286f731465f12cfcf19112c9a4273cb2afdc54382eac3b38
|
|