Skip to content

feat: move asset config into service #399

feat: move asset config into service

feat: move asset config into service #399

Triggered via push September 2, 2024 11:37
Status Failure
Total duration 44s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
golangci: core/star/service.go#L6
could not import github.com/goto/compass/core/asset (-: import cycle not allowed: import stack: [github.com/goto/compass github.com/goto/compass/cli github.com/goto/compass/core/asset github.com/goto/compass/internal/server github.com/goto/compass/internal/server/v1beta1 github.com/goto/compass/core/asset]) (typecheck)
golangci: core/star/service.go#L6
could not import github.com/goto/compass/core/asset (-: import cycle not allowed: import stack: [github.com/goto/compass github.com/goto/compass/cli github.com/goto/compass/core/asset github.com/goto/compass/internal/server github.com/goto/compass/internal/server/v1beta1 github.com/goto/compass/core/asset]) (typecheck)
golangci: internal/store/elasticsearch/discovery_repository.go#L14
could not import github.com/goto/compass/core/asset (-: import cycle not allowed: import stack: [github.com/goto/compass github.com/goto/compass/cli github.com/goto/compass/core/asset github.com/goto/compass/internal/server github.com/goto/compass/internal/server/v1beta1 github.com/goto/compass/core/asset]) (typecheck)
golangci: internal/store/elasticsearch/discovery_repository.go#L14
could not import github.com/goto/compass/core/asset (-: import cycle not allowed: import stack: [github.com/goto/compass github.com/goto/compass/cli github.com/goto/compass/core/asset github.com/goto/compass/internal/server github.com/goto/compass/internal/server/v1beta1 github.com/goto/compass/core/asset]) (typecheck)
golangci: internal/workermanager/discovery_worker.go#L9
could not import github.com/goto/compass/core/asset (-: import cycle not allowed: import stack: [github.com/goto/compass github.com/goto/compass/cli github.com/goto/compass/core/asset github.com/goto/compass/internal/server github.com/goto/compass/internal/server/v1beta1 github.com/goto/compass/core/asset]) (typecheck)
golangci: internal/workermanager/discovery_worker.go#L9
could not import github.com/goto/compass/core/asset (-: import cycle not allowed: import stack: [github.com/goto/compass github.com/goto/compass/cli github.com/goto/compass/core/asset github.com/goto/compass/internal/server github.com/goto/compass/internal/server/v1beta1 github.com/goto/compass/core/asset]) (typecheck)
golangci: cli/config.go#L9
could not import github.com/goto/compass/core/asset (-: import cycle not allowed: import stack: [github.com/goto/compass github.com/goto/compass/cli github.com/goto/compass/core/asset github.com/goto/compass/internal/server github.com/goto/compass/internal/server/v1beta1 github.com/goto/compass/core/asset]) (typecheck)
golangci: cli/config.go#L9
could not import github.com/goto/compass/core/asset (-: import cycle not allowed: import stack: [github.com/goto/compass github.com/goto/compass/cli github.com/goto/compass/core/asset github.com/goto/compass/internal/server github.com/goto/compass/internal/server/v1beta1 github.com/goto/compass/core/asset]) (typecheck)
golangci: core/asset/mocks/asset_repository.go#L8
could not import github.com/goto/compass/core/asset (-: import cycle not allowed: import stack: [github.com/goto/compass github.com/goto/compass/cli github.com/goto/compass/core/asset github.com/goto/compass/internal/server github.com/goto/compass/internal/server/v1beta1 github.com/goto/compass/core/asset]) (typecheck)
golangci: core/asset/mocks/asset_repository.go#L8
could not import github.com/goto/compass/core/asset (-: import cycle not allowed: import stack: [github.com/goto/compass github.com/goto/compass/cli github.com/goto/compass/core/asset github.com/goto/compass/internal/server github.com/goto/compass/internal/server/v1beta1 github.com/goto/compass/core/asset]) (typecheck)
golangci
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/