Skip to content

feat(test-post): allow passing in created_at timestamp when creating … #1072

feat(test-post): allow passing in created_at timestamp when creating …

feat(test-post): allow passing in created_at timestamp when creating … #1072

Triggered via push August 30, 2024 00:57
Status Failure
Total duration 3m 18s
Artifacts

main.yml

on: push
dependencies
22s
dependencies
Generate project documentation
0s
Generate project documentation
static_code_analysis
17s
static_code_analysis
Run tests
2m 37s
Run tests
Release
0s
Release
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 14 warnings
static_code_analysis
Process completed with exit code 10.
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.
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/
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: lib/epochtalk_server/models/post.ex#L68
Function is too complex (cyclomatic complexity is 10, 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: deps/poison/mix.exs#L4
String.strip/1 is deprecated. Use String.trim/1 instead
Run tests
Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead
Run tests
use Bitwise is deprecated. import Bitwise instead
Run tests
use Bitwise is deprecated. import Bitwise instead
Run tests
Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
Run tests
Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
Run tests
Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
Run tests
type id/0 is unused
Run tests
defp key/1 is private, @doc attribute is always discarded for private functions/macros/types
Run tests
defp query_param/2 is private, @doc attribute is always discarded for private functions/macros/types