Rework the build-info format to be JSON #445
ci.yml
on: push
cargo check
24s
cargo fmt
20s
cargo test
1m 25s
cargo clippy
23s
minimal direct dependencies
23s
cargo clippy latest
49s
allgreen
2s
Annotations
7 warnings
|
this `if` statement can be collapsed:
obs-gitlab-runner/src/handler.rs#L416
warning: this `if` statement can be collapsed
--> obs-gitlab-runner/src/handler.rs:416:5
|
416 | / if let Some(mut artifact) = dep.download().await? {
417 | | if let Some(file) = tokio::task::spawn_blocking(move || {
418 | | artifact
419 | | .file(path.as_str())
... |
434 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
416 ~ if let Some(mut artifact) = dep.download().await?
417 ~ && let Some(file) = tokio::task::spawn_blocking(move || {
418 | artifact
...
432 | ));
433 ~ }
|
|
|
this `if` statement can be collapsed:
obs-gitlab-runner/src/handler.rs#L416
warning: this `if` statement can be collapsed
--> obs-gitlab-runner/src/handler.rs:416:5
|
416 | / if let Some(mut artifact) = dep.download().await? {
417 | | if let Some(file) = tokio::task::spawn_blocking(move || {
418 | | artifact
419 | | .file(path.as_str())
... |
434 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
416 ~ if let Some(mut artifact) = dep.download().await?
417 ~ && let Some(file) = tokio::task::spawn_blocking(move || {
418 | artifact
...
432 | ));
433 ~ }
|
|
|
this `if` statement can be collapsed:
obo-core/src/prune.rs#L48
warning: this `if` statement can be collapsed
--> obo-core/src/prune.rs:48:5
|
48 | / if let Some(expected_rev) = expected_rev {
49 | | if dir.rev.as_deref() != Some(expected_rev) {
50 | | outputln!(
51 | | "Latest revision is {}, skipping prune",
... |
56 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
48 ~ if let Some(expected_rev) = expected_rev
49 ~ && dir.rev.as_deref() != Some(expected_rev) {
50 | outputln!(
...
54 | return Ok(());
55 ~ }
|
|
|
this `if` statement can be collapsed:
obo-core/src/prune.rs#L48
warning: this `if` statement can be collapsed
--> obo-core/src/prune.rs:48:5
|
48 | / if let Some(expected_rev) = expected_rev {
49 | | if dir.rev.as_deref() != Some(expected_rev) {
50 | | outputln!(
51 | | "Latest revision is {}, skipping prune",
... |
56 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
48 ~ if let Some(expected_rev) = expected_rev
49 ~ && dir.rev.as_deref() != Some(expected_rev) {
50 | outputln!(
...
54 | return Ok(());
55 ~ }
|
|
|
this `if` statement can be collapsed:
obo-core/src/build_meta.rs#L126
warning: this `if` statement can be collapsed
--> obo-core/src/build_meta.rs:126:21
|
126 | / if let Some(obs::Error::ApiError(obs::ApiError { code, .. })) =
127 | | cause.downcast_ref::<obs::Error>()
128 | | {
129 | | if code == "unknown_package" {
... |
132 | | }
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
127 ~ cause.downcast_ref::<obs::Error>()
128 ~ && code == "unknown_package" {
129 | return Ok(None);
130 ~ }
|
|
|
this `if` statement can be collapsed:
obo-core/src/build_meta.rs#L126
warning: this `if` statement can be collapsed
--> obo-core/src/build_meta.rs:126:21
|
126 | / if let Some(obs::Error::ApiError(obs::ApiError { code, .. })) =
127 | | cause.downcast_ref::<obs::Error>()
128 | | {
129 | | if code == "unknown_package" {
... |
132 | | }
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
127 ~ cause.downcast_ref::<obs::Error>()
128 ~ && code == "unknown_package" {
129 | return Ok(None);
130 ~ }
|
|
|
JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals:
Dockerfile#L26
JSONArgsRecommended: JSON arguments recommended for ENTRYPOINT to prevent unintended behavior related to OS signals
More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
collabora~obs-gitlab-runner~N9R5UC.dockerbuild
Expired
|
34.9 KB |
sha256:3687e955411503c6a035a16dceacf96a4062b6e7e0201f7b38d67a7388319533
|
|