feat: create frontend with template based #2
Annotations
11 errors and 22 warnings
Check Style
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Run Clippy:
src/controllers/sales.rs#L5
unused import: `std::fmt::format`
|
Run Clippy:
src/controllers/sales.rs#L22
using `clone` on type `i32` which implements the `Copy` trait
|
Run Clippy:
src/controllers/sales.rs#L23
using `clone` on type `i32` which implements the `Copy` trait
|
Run Clippy:
src/controllers/sales.rs#L57
unneeded `return` statement
|
Run Clippy:
src/controllers/sales.rs#L66
variables can be used directly in the `format!` string
|
Run Clippy:
src/controllers/sales.rs#L97
variables can be used directly in the `format!` string
|
Run Clippy:
src/controllers/sales.rs#L100
variables can be used directly in the `format!` string
|
Run Clippy:
src/controllers/sales.rs#L105
variables can be used directly in the `format!` string
|
Run Clippy:
src/controllers/sales.rs#L116
you seem to be trying to use `match` for an equality check. Consider using `if`
|
Run Clippy:
src/controllers/sales.rs#L123
matching over `()` is more explicit
|
Check Style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Check Style
The process '/usr/bin/git' failed with exit code 128
|
Check Style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check Style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check Style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check Style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy
The process '/usr/bin/git' failed with exit code 128
|
Run Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Tests:
src/controllers/sales.rs#L5
unused import: `std::fmt::format`
|
Run Tests
`mag` (lib test) generated 1 warning (1 duplicate)
|
Run Tests:
tests/requests/sales.rs#L37
unused variable: `res`
|
Run Tests
`mag` (test "mod") generated 1 warning (run `cargo fix --test "mod"` to apply 1 suggestion)
|
Run Tests
The process '/usr/bin/git' failed with exit code 128
|