Skip to content

fix: workflows

fix: workflows #263

Triggered via pull request July 1, 2023 06:00
Status Failure
Total duration 2m 42s
Artifacts

router-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint (1.19, ubuntu-latest): vmware-event-router/internal/config/v1alpha1/config.go#L6
import 'github.com/goccy/go-yaml' is not allowed from list 'Main' (depguard)
lint (1.19, ubuntu-latest): vmware-event-router/internal/config/v1alpha1/config.go#L7
import 'github.com/pkg/errors' is not allowed from list 'Main' (depguard)
lint (1.19, ubuntu-latest): vmware-event-router/internal/config/v1alpha1/processor.go#L3
import 'knative.dev/pkg/apis/duck/v1' is not allowed from list 'Main' (depguard)
lint (1.19, ubuntu-latest): vmware-event-router/internal/metrics/server.go#L11
import 'github.com/pkg/errors' is not allowed from list 'Main' (depguard)
lint (1.19, ubuntu-latest): vmware-event-router/internal/metrics/server.go#L14
import 'github.com/vmware-samples/vcenter-event-broker-appliance/vmware-event-router/internal/util' is not allowed from list 'Main' (depguard)
lint (1.19, ubuntu-latest): vmware-event-router/internal/metrics/server.go#L16
import 'github.com/vmware-samples/vcenter-event-broker-appliance/vmware-event-router/internal/config/v1alpha1' is not allowed from list 'Main' (depguard)
lint (1.19, ubuntu-latest): vmware-event-router/internal/metrics/server.go#L17
import 'github.com/vmware-samples/vcenter-event-broker-appliance/vmware-event-router/internal/logger' is not allowed from list 'Main' (depguard)
lint (1.19, ubuntu-latest): vmware-event-router/internal/processor/knative/knative.go#L12
import 'github.com/cloudevents/sdk-go/v2' is not allowed from list 'Main' (depguard)
lint (1.19, ubuntu-latest): vmware-event-router/internal/processor/knative/knative.go#L13
import 'github.com/cloudevents/sdk-go/v2/client' is not allowed from list 'Main' (depguard)
lint (1.19, ubuntu-latest): vmware-event-router/internal/processor/knative/knative.go#L14
import 'github.com/embano1/waitgroup' is not allowed from list 'Main' (depguard)
lint (1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/vcenter-event-broker-appliance/vcenter-event-broker-appliance. Supported file pattern: go.sum