Skip to content

feat(capabilities): device capabilities #359

feat(capabilities): device capabilities

feat(capabilities): device capabilities #359

Re-run triggered January 22, 2025 15:49
Status Success
Total duration 9m 56s
Artifacts

build-workflow.yaml

on: pull_request
Build and Test
56s
Build and Test
Fit to window
Zoom out
Zoom in

Annotations

42 warnings
Check Dialyzer
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Check Dialyzer: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Check Dialyzer: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Check Dialyzer: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Check Dialyzer: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L138
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L142
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L118
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Check Dialyzer: lib/astarte_core/triggers/simple_trigger_config.ex#L33
unused alias AMQPTriggerTarget
Check Dialyzer: lib/astarte_core/triggers/simple_trigger_config.ex#L38
unused alias TriggerTargetContainer
Check Dialyzer: lib/astarte_core/device/capabilities.ex#L25
unused alias PurgePropertiesCompressionFormat
Check Dialyzer: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Check Dialyzer
use Bitwise is deprecated. import Bitwise instead
Check Dialyzer: lib/astarte_core/device/capabilities.ex#L25
unused alias PurgePropertiesCompressionFormat
Check Dialyzer: lib/astarte_core/triggers/simple_trigger_config.ex#L33
unused alias AMQPTriggerTarget
Check Dialyzer: lib/astarte_core/triggers/simple_trigger_config.ex#L38
unused alias TriggerTargetContainer
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L138
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L142
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L118
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test
use Bitwise is deprecated. import Bitwise instead
Build and Test: lib/astarte_core/device/capabilities.ex#L25
unused alias PurgePropertiesCompressionFormat
Build and Test: lib/astarte_core/triggers/simple_trigger_config.ex#L33
unused alias AMQPTriggerTarget
Build and Test: lib/astarte_core/triggers/simple_trigger_config.ex#L38
unused alias TriggerTargetContainer
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L138
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L142
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L118
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L138
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L142
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L118
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: lib/astarte_core/triggers/simple_trigger_config.ex#L33
unused alias AMQPTriggerTarget
Build and Test: lib/astarte_core/triggers/simple_trigger_config.ex#L38
unused alias TriggerTargetContainer
Build and Test: lib/astarte_core/device/capabilities.ex#L25
unused alias PurgePropertiesCompressionFormat
Build and Test: test/astarte_core/interface_test.exs#L383
variable "interface" is unused (if the variable is not meant to be used, prefix it with an underscore)
Build and Test
attempting to determine the presence of embed_many field :error_handlers with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.