Skip to content

fix(error_json): If in prod, remove error message from front end resp… #102

fix(error_json): If in prod, remove error message from front end resp…

fix(error_json): If in prod, remove error message from front end resp… #102

Triggered via push January 10, 2025 02:33
Status Failure
Total duration 3m 39s
Artifacts

main.yml

on: push
dependencies
11s
dependencies
build-and-push-image
0s
build-and-push-image
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 16 warnings
Run tests: test/epochtalk_server_web/controllers/poll_test.exs#L543
test lock/2 given thread and user who does not own the poll, does not lock poll (Test.EpochtalkServerWeb.Controllers.Poll)
Run tests
Process completed with exit code 2.
static_code_analysis
Process completed with exit code 2.
dependencies
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. 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
dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. 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
static_code_analysis
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. 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
Run tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run tests
the Behaviour module is deprecated. Instead of using this module, use the @callback and @macrocallback module attributes. See the documentation for Module for more information on these attributes
Run tests
5..1 has a default step of -1, please write 5..1//-1 instead
Run tests
first..last inside match is deprecated, you must always match on the step: first..last//var or first..last//_ if you want to ignore it
Run tests: lib/epochtalk_server/models/mention.ex#L168
2..-1 has a default step of -1, please write 2..-1//-1 instead
Run tests: lib/epochtalk_server/models/image_reference.ex#L1
invalid association `posts` in schema EpochtalkServer.Models.ImageReference: :join_through schema PostImageReference does not exist
Run tests: lib/epochtalk_server/models/image_reference.ex#L1
invalid association `profiles` in schema EpochtalkServer.Models.ImageReference: :join_through schema ProfileImageReference does not exist
static_code_analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
static_code_analysis: lib/epochtalk_server/models/mention.ex#L168
2..-1 has a default step of -1, please write 2..-1//-1 instead
static_code_analysis: lib/epochtalk_server/models/image_reference.ex#L1
invalid association `posts` in schema EpochtalkServer.Models.ImageReference: :join_through schema PostImageReference does not exist
static_code_analysis: lib/epochtalk_server/models/image_reference.ex#L1
invalid association `profiles` in schema EpochtalkServer.Models.ImageReference: :join_through schema ProfileImageReference does not exist
unknown_function: lib/epochtalk_server_web/json/error_json.ex#L74
Function Mix.env/0 does not exist.