Update coverage.yaml #547
Annotations
3 warnings
the borrowed expression implements the required traits:
bin/bot/src/discord/slash/gear.rs#L264
warning: the borrowed expression implements the required traits
--> bin/bot/src/discord/slash/gear.rs:264:26
|
264 | .to_guild_cached(&ctx)
| ^^^^ help: change this to: `ctx`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
--> bin/bot/src/main.rs:2:26
|
2 | #![warn(clippy::nursery, clippy::all)]
| ^^^^^^^^^^^
= note: `#[warn(clippy::needless_borrow)]` implied by `#[warn(clippy::all)]`
|
the function has a cognitive complexity of (27/25):
bin/hooks/src/missions.rs#L4
warning: the function has a cognitive complexity of (27/25)
--> bin/hooks/src/missions.rs:4:14
|
4 | pub async fn list_updated() -> StatusCode {
| ^^^^^^^^^^^^
|
= help: you could split it up into multiple smaller functions
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexity
note: the lint level is defined here
--> bin/hooks/src/main.rs:2:9
|
2 | #![warn(clippy::nursery, clippy::all)]
| ^^^^^^^^^^^^^^^
= note: `#[warn(clippy::cognitive_complexity)]` implied by `#[warn(clippy::nursery)]`
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|