Skip to content

ops: ci action to lint redoc #1

ops: ci action to lint redoc

ops: ci action to lint redoc #1

Triggered via push March 5, 2024 01:19
Status Failure
Total duration
Artifacts

This workflow graph cannot be shown

A graph will be generated the next time this workflow is run.

Annotations

1 error and 8 warnings
Invalid workflow file: .github/workflows/test-redoc.yml#L13
You have an error in your yaml syntax on line 13
casting to the same type is unnecessary (`usize` -> `usize`): src/operators/parse_operator.rs#L74
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/operators/parse_operator.rs:74:33 | 74 | target_group_size + cmp::min(remainder as usize, remainder_per_group as usize) as usize; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cmp::min(remainder as usize, remainder_per_group as usize)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`usize` -> `usize`): src/operators/parse_operator.rs#L40
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/operators/parse_operator.rs:40:28 | 40 | chunk.drain(0..amt_to_take as usize); | ^^^^^^^^^^^^^^^^^^^^ help: try: `amt_to_take` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
unused import: `utoipa::ToSchema`: src/handlers/stripe_handler.rs#L20
warning: unused import: `utoipa::ToSchema` --> src/handlers/stripe_handler.rs:20:5 | 20 | use utoipa::ToSchema; | ^^^^^^^^^^^^^^^^
unused import: `utoipa::ToSchema`: src/handlers/event_handler.rs#L9
warning: unused import: `utoipa::ToSchema` --> src/handlers/event_handler.rs:9:5 | 9 | use utoipa::ToSchema; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
casting to the same type is unnecessary (`usize` -> `usize`): src/operators/parse_operator.rs#L74
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/operators/parse_operator.rs:74:33 | 74 | target_group_size + cmp::min(remainder as usize, remainder_per_group as usize) as usize; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cmp::min(remainder as usize, remainder_per_group as usize)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`usize` -> `usize`): src/operators/parse_operator.rs#L40
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/operators/parse_operator.rs:40:28 | 40 | chunk.drain(0..amt_to_take as usize); | ^^^^^^^^^^^^^^^^^^^^ help: try: `amt_to_take` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
unused import: `utoipa::ToSchema`: src/handlers/stripe_handler.rs#L20
warning: unused import: `utoipa::ToSchema` --> src/handlers/stripe_handler.rs:20:5 | 20 | use utoipa::ToSchema; | ^^^^^^^^^^^^^^^^
unused import: `utoipa::ToSchema`: src/handlers/event_handler.rs#L9
warning: unused import: `utoipa::ToSchema` --> src/handlers/event_handler.rs:9:5 | 9 | use utoipa::ToSchema; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default