Skip to content

add cache, generate grafana dashboard #1

add cache, generate grafana dashboard

add cache, generate grafana dashboard #1

Triggered via pull request September 29, 2023 14:28
@jaydelucajaydeluca
synchronize #1
grafana
Status Failure
Total duration 57s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

static_analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: file_cache_test.go#L10
Error return value of `cache.AddToCache` is not checked (errcheck)
lint: file_cache_test.go#L15
Error return value of `cache.DeleteCache` is not checked (errcheck)
lint: grafana_dashboard.go#L29
Error return value of `os.WriteFile` is not checked (errcheck)
lint: main.go#L33
Error return value of `commitCache.AddToCache` is not checked (errcheck)
lint: main.go#L42
Error return value of `reportCache.AddToCache` is not checked (errcheck)
lint: main.go#L86
S1039: unnecessary use of fmt.Sprintf (gosimple)
lint: report_parser_test.go#L48
S1039: unnecessary use of fmt.Sprintf (gosimple)
lint: report_parser_test.go#L56
S1039: unnecessary use of fmt.Sprintf (gosimple)
lint: file_cache.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: github_client.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)