use Go standard errors #165
Annotations
7 errors and 3 warnings
lint:
collector/collector_benchmark_test.go#L68
File is not `gofumpt`-ed (gofumpt)
|
lint:
collector/collector_benchmark_test.go#L72
File is not `gofumpt`-ed (gofumpt)
|
lint:
collector/collector_benchmark_test.go#L108
File is not `gofumpt`-ed (gofumpt)
|
lint:
cmd/graphite_exporter/main.go#L35
File is not `goimports`-ed with -local github.com/prometheus/graphite_exporter (goimports)
|
lint:
cmd/getool/backfill.go#L32
File is not `goimports`-ed with -local github.com/prometheus/graphite_exporter (goimports)
|
lint:
cmd/getool/backfill.go#L131
switch on an error will fail on wrapped errors. Use errors.Is to check for specific errors (errorlint)
|
lint
issues found
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|