Skip to content

Adding CI/CD Lint/Vet And StaticCheck #2

Adding CI/CD Lint/Vet And StaticCheck

Adding CI/CD Lint/Vet And StaticCheck #2

Triggered via pull request September 12, 2024 11:27
@raj-princeraj-prince
synchronize #15
audit_ci
Status Failure
Total duration 1m 14s
Artifacts

audit.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
audit: benchmark-script/2x_performance_test/main.go#L106
fmt.Println does not take io.Writer but has first arg os.Stderr
audit: main.go#L133
go.opentelemetry.io/otel/attribute.KeyValue struct literal uses unkeyed fields
audit: trace_exporter.go#L33
go.opentelemetry.io/otel/attribute.KeyValue struct literal uses unkeyed fields
audit: main.go#L190
result of fmt.Errorf call not used
audit: benchmark-script/list_operation/main.go#L74
fmt.Println does not take io.Writer but has first arg os.Stderr
audit: benchmark-script/open_file/main.go#L72
fmt.Println does not take io.Writer but has first arg os.Stderr
audit: benchmark-script/pprof_test/main.go#L276
fmt.Println call has possible Printf formatting directive %v
audit: benchmark-script/read_operation/main.go#L115
fmt.Println does not take io.Writer but has first arg os.Stderr
audit: benchmark-script/ssd_test/main.go#L112
fmt.Println does not take io.Writer but has first arg os.Stderr
audit: benchmark-script/write_operations/main.go#L135
fmt.Println does not take io.Writer but has first arg os.Stderr
audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
audit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/