Skip to content

chore(deps): bump github.com/prometheus/client_golang from 1.18.0 to 1.20.4 #8345

chore(deps): bump github.com/prometheus/client_golang from 1.18.0 to 1.20.4

chore(deps): bump github.com/prometheus/client_golang from 1.18.0 to 1.20.4 #8345

Triggered via pull request October 9, 2024 17:59
Status Failure
Total duration 35m 26s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
Build
undefined: expfmt.FmtText
Build
Process completed with exit code 2.
Lint Go code: metricproviders/prometheus/prometheus_test.go#L88
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
Lint Go code: metricproviders/prometheus/prometheus_test.go#L109
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
Lint Go code: metricproviders/prometheus/prometheus_test.go#L140
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
Lint Go code: metricproviders/prometheus/prometheus_test.go#L175
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
Lint Go code: metricproviders/prometheus/prometheus_test.go#L208
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
Lint Go code: metricproviders/prometheus/prometheus_test.go#L241
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
Lint Go code: metricproviders/prometheus/prometheus_test.go#L269
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
Lint Go code: metricproviders/prometheus/prometheus_test.go#L294
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
Lint Go code: metricproviders/prometheus/prometheus_test.go#L320
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
Lint Go code: metricproviders/prometheus/prometheus_test.go#L346
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
Verify Codegen
Process completed with exit code 2.
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/argo-rollouts/argo-rollouts. Supported file pattern: go.sum
Lint Go code
Restore cache failed: Dependencies file is not found in /home/runner/work/argo-rollouts/argo-rollouts. Supported file pattern: go.sum