Skip to content

refactor(user-find): move manipulation of user object into user_json … #37

refactor(user-find): move manipulation of user object into user_json …

refactor(user-find): move manipulation of user object into user_json … #37

Triggered via push November 14, 2024 21:33
Status Failure
Total duration 6m 50s
Artifacts

main.yml

on: push
static_code_analysis
19s
static_code_analysis
Run tests
2m 36s
Run tests
build-and-push-image
0s
build-and-push-image
Fit to window
Zoom out
Zoom in

Annotations

1 error and 18 warnings
static_code_analysis
Process completed with exit code 10.
dependencies
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dependencies
62..@dynamic_table_start + length - 1 inside guards requires an explicit step, please write 62..@dynamic_table_start + length - 1//1 or 62..@dynamic_table_start + length - 1//-1 instead
dependencies
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
dependencies
5..1 has a default step of -1, please write 5..1//-1 instead
dependencies
~R/.../ is deprecated, use ~r/.../ instead
dependencies
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
static_code_analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
static_code_analysis
using map.field notation (without parentheses) to invoke function Credo.Check.Consistency.ExceptionNames.category() is deprecated, you must add parentheses instead: remote.function()
static_code_analysis: lib/epochtalk_server_web/json/user_json.ex#L19
Function is too complex (cyclomatic complexity is 11, max is 9).
Run tests
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run tests
62..@dynamic_table_start + length - 1 inside guards requires an explicit step, please write 62..@dynamic_table_start + length - 1//1 or 62..@dynamic_table_start + length - 1//-1 instead
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
~R/.../ is deprecated, use ~r/.../ 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