Recently updated nerves_hub_cli which subsequently updated to nerves_hub_user_api 0.7 that changed some API functions and gives these deprecation warnings:
warning: NervesHubUserAPI.Device.cert_list/4 is deprecated. use NervesHubUserAPI.DeviceCertificate.list/4 instead
lib/mix/tasks/nerves_hub.device.ex:403: Mix.Tasks.NervesHub.Device.cert_list/3
warning: NervesHubUserAPI.Device.cert_sign/5 is deprecated. use NervesHubUserAPI.DeviceCertificate.sign/5 instead
lib/mix/tasks/nerves_hub.device.ex:560: Mix.Tasks.NervesHub.Device.do_cert_create/1
This updates CLI to use the new functions (since we prob should emit warnings for our own lib 😆 )
Also adds mix compile --warnings-as-errors to the CI to help catch things like this in the future.
Recently updated
nerves_hub_cli
which subsequently updated tonerves_hub_user_api 0.7
that changed some API functions and gives these deprecation warnings:This updates CLI to use the new functions (since we prob should emit warnings for our own lib 😆 )
Also adds
mix compile --warnings-as-errors
to the CI to help catch things like this in the future.