Skip to content

Remove unused github.com/prometheus/common/model #20

Remove unused github.com/prometheus/common/model

Remove unused github.com/prometheus/common/model #20

Triggered via pull request February 28, 2024 16:19
Status Failure
Total duration 1m 39s
Artifacts

validate_pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 5 warnings
Build Binaries
cmd/cortextool/cortextool] Error 2
Build Binaries
Process completed with exit code 2.
Unit-Tests: pkg/commands/analyse_prometheus.go#L107
undefined: model
Unit-Tests: pkg/commands/analyse_prometheus.go#L156
undefined: model
Unit-Tests
test] Error 2
Unit-Tests
Process completed with exit code 2.
Lint: cmd/blockgen/main.go#L8
could not import github.com/cortexproject/cortex-tools/pkg/commands (-: # github.com/cortexproject/cortex-tools/pkg/commands
Lint: cmd/chunktool/main.go#L8
could not import github.com/cortexproject/cortex-tools/pkg/commands (-: # github.com/cortexproject/cortex-tools/pkg/commands
Lint: cmd/cortextool/main.go#L9
could not import github.com/cortexproject/cortex-tools/pkg/commands (-: # github.com/cortexproject/cortex-tools/pkg/commands
Lint: pkg/alerting/runner.go#L170
t.Describe undefined (type Case has no field or method Describe) (typecheck)
Lint: pkg/alerting/runner.go#L179
t.Collect undefined (type Case has no field or method Collect) (typecheck)
Lint: pkg/commands/access_control.go#L1
: # github.com/cortexproject/cortex-tools/pkg/commands [github.com/cortexproject/cortex-tools/pkg/commands.test]
Lint
issues found
Build Binaries
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build Binaries
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit-Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit-Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.