Skip to content

Update build

Update build #298

Triggered via pull request July 16, 2024 10:26
Status Failure
Total duration 30s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: config/config.go#L23
import 'github.com/kelseyhightower/envconfig' is not allowed from list 'Main' (depguard)
lint: config/config.go#L24
import 'github.com/prometheus/common/model' is not allowed from list 'Main' (depguard)
lint: config/config_test.go#L20
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint: config/config.go#L17
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: prometheus/metadata_service.go#L34
Comment should end in a period (godot)
lint: prometheus/compatible.go#L20
import 'github.com/prometheus/client_golang/api/prometheus/v1' is not allowed from list 'Main' (depguard)
lint: prometheus/compatible.go#L21
import 'github.com/prometheus/common/model' is not allowed from list 'Main' (depguard)
lint: prometheus/empty.go#L20
import 'github.com/prometheus/client_golang/api/prometheus/v1' is not allowed from list 'Main' (depguard)
lint: prometheus/empty.go#L21
import 'github.com/prometheus/common/model' is not allowed from list 'Main' (depguard)
lint: prometheus/metadata_service.go#L26
import 'github.com/blang/semver' is not allowed from list 'Main' (depguard)