Skip to content

Feature/set watering plan status on tree crud #1095

Feature/set watering plan status on tree crud

Feature/set watering plan status on tree crud #1095

Triggered via pull request January 26, 2025 13:48
Status Failure
Total duration 1m 36s
Artifacts

linter-on-pr.yaml

on: pull_request

Annotations

10 errors and 1 warning
lint: internal/service/domain/service.go#L12
could not import github.com/green-ecolution/green-ecolution-backend/internal/service/domain/treecluster (-: # github.com/green-ecolution/green-ecolution-backend/internal/service/domain/treecluster
lint: internal/service/domain/treecluster/handle_tree_update.go#L70
cannot use tree.TreeCluster.ID (variable of type int32) as *entities.Tree value in argument to s.getWateringStatusOfTreeCluster
lint: internal/service/domain/treecluster/treecluster.go#L235
declared and not used: wateringStatus
lint: internal/service/domain/treecluster/treecluster.go#L235
cannot use id (variable of type int32) as *entities.Tree value in argument to s.getWateringStatusOfTreeCluster) (typecheck)
lint: internal/service/domain/treecluster/handle_tree_update.go#L70
cannot use tree.TreeCluster.ID (variable of type int32) as *entities.Tree value in argument to s.getWateringStatusOfTreeCluster
lint: internal/service/domain/treecluster/treecluster.go#L235
declared and not used: wateringStatus
lint: internal/service/domain/treecluster/treecluster.go#L235
cannot use id (variable of type int32) as *entities.Tree value in argument to s.getWateringStatusOfTreeCluster (typecheck)
lint
issues found
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636