Skip to content

pages build and deployment #43

pages build and deployment

pages build and deployment #43

Triggered via dynamic November 3, 2023 10:36
Status Success
Total duration 35s
Artifacts 1

pages-build-deployment

on: dynamic
report-build-status
2s
report-build-status
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
`if` chain can be rewritten with `match`: trustchain-ion/src/utils.rs#L365
warning: `if` chain can be rewritten with `match` --> trustchain-ion/src/utils.rs:365:9 | 365 | / if current_unixtime as i64 > target_unixtime { 366 | | end_height = current_height; // TODO CHECK: original script has: current_height - 1; 367 | | } else if (current_unixtime as i64) < target_unixtime { 368 | | start_height = current_height; // TODO CHECK: original script has: current_height + 1; 369 | | } | |_________^ | = help: consider rewriting the `if` chain to use `cmp` and `match` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain = note: `#[warn(clippy::comparison_chain)]` on by default
use of `unwrap_or` to construct default value: trustchain-ion/src/attestor.rs#L162
warning: use of `unwrap_or` to construct default value --> trustchain-ion/src/attestor.rs:162:44 | 162 | &linked_data_proof_options.unwrap_or(LinkedDataProofOptions::default()), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default

Artifacts

Produced during runtime
Name Size
github-pages Expired
760 KB