Skip to content

fix(credo): resolve credo error with user_json #39

fix(credo): resolve credo error with user_json

fix(credo): resolve credo error with user_json #39

Triggered via push November 14, 2024 21:48
Status Success
Total duration 8m 59s
Artifacts 1

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
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/
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
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], actions/cache/restore@v3, actions/cache/save@v3. 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/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

Artifacts

Produced during runtime
Name Size
slickage~epochtalk_server~9L3VVE.dockerbuild
50.5 KB