Skip to content

use Go standard errors #165

use Go standard errors

use Go standard errors #165

Re-run triggered December 6, 2023 10:47
Status Failure
Total duration 43s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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/