Skip to content

Add comprehensive testing workflow for PR checks #4

Add comprehensive testing workflow for PR checks

Add comprehensive testing workflow for PR checks #4

Triggered via pull request November 24, 2025 08:49
@hao1939hao1939
synchronize #18
dev
Status Failure
Total duration 56s
Artifacts 1

pr-checks.yml

on: pull_request
Test
47s
Test
Lint
20s
Lint
Security Scan
41s
Security Scan
Code Quality Checks
33s
Code Quality Checks
Dependency Review
7s
Dependency Review
Matrix: Build
Fit to window
Zoom out
Zoom in

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