Skip to content

test(warnings): resolve test warnings #1125

test(warnings): resolve test warnings

test(warnings): resolve test warnings #1125

Triggered via push November 12, 2024 20:57
Status Success
Total duration 6m 54s
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. 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
epochtalk~epochtalk_server~P78ZC9.dockerbuild
49.7 KB