This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
chore(submodules): update external submodules #319
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
testing.yml
on: pull_request
Linting and Testing
4m 16s
Annotations
1 error and 13 warnings
Linting and Testing
Critical vulnerabilities were found, marking check as failed
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
src/storage/mod.rs#L28
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> src/storage/mod.rs:28:23
|
28 | certificates: &Vec<Vec<u8>>,
| ^^^^^^^^^^^^^ help: change this to: `&'life1 [Vec<u8>]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
use of `.unwrap_or_else(..)` to construct default value:
src/storage/kubernetes.rs#L32
warning: use of `.unwrap_or_else(..)` to construct default value
--> src/storage/kubernetes.rs:32:37
|
32 | let current_namespace = config
| _____________________________________^
33 | | .contexts
34 | | .iter()
35 | | .find(|&ctx| ctx.name == *current_context_name)
... |
39 | | .namespace
40 | | .unwrap_or_else(|| "".to_string());
| |__________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_else_default
= note: `#[warn(clippy::unwrap_or_else_default)]` on by default
help: try
|
32 ~ let current_namespace = config
33 + .contexts
34 + .iter()
35 + .find(|&ctx| ctx.name == *current_context_name)
36 + .expect("No context with name found.")
37 + .clone()
38 + .context
39 ~ .namespace.unwrap_or_default();
|
|
the item `debug` is imported redundantly:
src/main.rs#L230
warning: the item `debug` is imported redundantly
--> src/main.rs:230:9
|
5 | use log::{debug, error, info};
| ----- the item `debug` is already imported here
...
230 | use log::debug;
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Linting and Testing
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/audit-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/
|
Linting and Testing:
src/main.rs#L230
the item `debug` is imported redundantly
|
Linting and Testing
`k8s-contract-provider` (bin "k8s-contract-provider") generated 1 warning
|
Linting and Testing
1 vulnerabilities found!
|
Linting and Testing
1 warnings found!
|
Linting and Testing
Unknown warning kind unsound found, please, file a bug
|
Linting and Testing
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/
|
Linting and Testing
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/
|
Linting and Testing
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/
|
Linting and Testing
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/
|