Skip to content

test: Add comprehensive unit tests for schema validation #26

test: Add comprehensive unit tests for schema validation

test: Add comprehensive unit tests for schema validation #26

Triggered via push December 30, 2025 00:24
Status Failure
Total duration 2m 12s
Artifacts 7

ci.yml

on: push
Lint
42s
Lint
Security Scan
2m 9s
Security Scan
SBOM & Vulnerability Analysis
1m 2s
SBOM & Vulnerability Analysis
Validate
9s
Validate
Matrix: Build
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
Validate
Process completed with exit code 1.
Lint: pkg/gcp/sql/ssh_tunnel.go#L84
Error return value of `stm.Stop` is not checked (errcheck)
Lint: pkg/gcp/sql/proxy.go#L137
Error return value of `pm.cmd.Process.Kill` is not checked (errcheck)
Lint: pkg/gcp/sql/inspector.go#L408
Error return value is not checked (errcheck)
Lint: pkg/gcp/sql/inspector.go#L393
Error return value is not checked (errcheck)
Lint: pkg/gcp/sql/inspector.go#L320
Error return value is not checked (errcheck)
Lint: pkg/gcp/gke/comparators.go#L117
func `compareMonitoring` is unused (unused)
Lint: pkg/gcp/gke/comparators.go#L96
func `compareLogging` is unused (unused)
Lint: pkg/gcp/gke/comparators.go#L68
func `compareAddons` is unused (unused)
Lint: pkg/gcp/gke/comparators.go#L29
func `compareSecurityFeatures` is unused (unused)
Lint: pkg/gcp/gke/comparators.go#L4
func `compareNetworkConfig` is unused (unused)
Test (1.25.x)
Process completed with exit code 1.
Test (1.25.x): cmd/gcp_sql_db.go#L195
fmt.Println arg list ends with redundant newline
Test (1.25.x): cmd/gcp_sql_db.go#L162
fmt.Println arg list ends with redundant newline
Test (1.25.x): cmd/gcp_sql_db.go#L159
fmt.Println arg list ends with redundant newline
Test (1.24.x)
The strategy configuration was canceled because "test._1_25_x" failed
Test (1.24.x)
The operation was canceled.
Test (1.24.x): cmd/gcp_sql_db.go#L195
fmt.Println arg list ends with redundant newline
Test (1.24.x): cmd/gcp_sql_db.go#L162
fmt.Println arg list ends with redundant newline
Test (1.24.x): cmd/gcp_sql_db.go#L159
fmt.Println arg list ends with redundant newline
SBOM & Vulnerability Analysis
Unexpected input(s) 'output-file', valid inputs are ['image', 'path', 'sbom', 'fail-build', 'output-format', 'severity-cutoff', 'only-fixed', 'add-cpes-if-none', 'by-cve', 'grype-version', 'vex']

Artifacts

Produced during runtime
Name Size Digest
drift-analysis-cli-darwin-amd64 Expired
15.5 MB
sha256:be6300b901e5a8bc5986736d65f156c541a4c270e2d490797a4e1b9efbfee6ca
drift-analysis-cli-darwin-arm64 Expired
14.7 MB
sha256:35243db2f7dd5cf12e8b94371aadaff0e2db8eb8b96e92f6bd7fdf8d43e0a0cb
drift-analysis-cli-linux-amd64 Expired
14.9 MB
sha256:508192b520a6f1f76c8f62233c67e29560dd60f05a72835abfe0c40fa1668b3d
drift-analysis-cli-linux-arm64 Expired
13.8 MB
sha256:63ccaa530213975bbf6cf3335a6017ba2c7dc6f5467d76a71c8f1d70477e4931
drift-analysis-cli-sbom.spdx.json
17.8 KB
sha256:35e1a296ba1c2ea6d0019fc24b6b503b12fd1215eb86e4bcd2b60412d094d594
drift-analysis-cli-windows-amd64 Expired
15.2 MB
sha256:58eca709f4b1aa547d8a419e15ce42b0822be1df2109aaae7f67fb2b7855e0af
sbom Expired
17.7 KB
sha256:9208425c441adbaf353c03b2b92824e027ba2130c8aced90e0161203db8e04de