misc: update golangci-lint and use cached action #192
ci.yaml
on: pull_request
Matrix: Integration test Kubernetes
Check
1m 31s
Unit test
1m 35s
Helm chart test
26s
Integration test CLI
1m 38s
Release images
0s
Tagged release images
0s
Tagged release binaries
0s
Annotations
10 errors
Check:
pkg/kubernetes/api/sloth/v1/register.go#L4
import 'k8s.io/apimachinery/pkg/apis/meta/v1' is not allowed from list 'Main' (depguard)
|
Check:
pkg/kubernetes/api/sloth/v1/register.go#L5
import 'k8s.io/apimachinery/pkg/runtime' is not allowed from list 'Main' (depguard)
|
Check:
pkg/kubernetes/api/sloth/v1/register.go#L6
import 'k8s.io/apimachinery/pkg/runtime/schema' is not allowed from list 'Main' (depguard)
|
Check:
pkg/kubernetes/api/sloth/v1/register.go#L8
import 'github.com/slok/sloth/pkg/kubernetes/api/sloth' is not allowed from list 'Main' (depguard)
|
Check:
pkg/kubernetes/api/sloth/v1/types.go#L4
import 'k8s.io/apimachinery/pkg/apis/meta/v1' is not allowed from list 'Main' (depguard)
|
Check:
internal/k8sprometheus/storage.go#L70
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
internal/k8sprometheus/spec.go#L42
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
internal/k8sprometheus/kubernetes.go#L115
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
internal/k8sprometheus/kubernetes.go#L7
import 'github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1' is not allowed from list 'Main' (depguard)
|
Check:
internal/k8sprometheus/kubernetes.go#L8
import 'github.com/prometheus-operator/prometheus-operator/pkg/client/versioned' is not allowed from list 'Main' (depguard)
|