Skip to content

fix(deps): bump anyhow from 1.0.94 to 1.0.95 #568

fix(deps): bump anyhow from 1.0.94 to 1.0.95

fix(deps): bump anyhow from 1.0.94 to 1.0.95 #568

Triggered via pull request January 18, 2025 10:19
Status Success
Total duration 1m 48s
Artifacts

lint.yml

on: pull_request
Check format with fmt
11s
Check format with fmt
Check with clippy
59s
Check with clippy
Check if all commits are conventional
1m 39s
Check if all commits are conventional
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
Check format with fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check format with fmt
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/
Check format with fmt
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/
Check format with fmt
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/
Check format with fmt
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/
unneeded `return` statement: src/annotations.rs#L161
warning: unneeded `return` statement --> src/annotations.rs:161:5 | 161 | / return match obj.annotations().get(annotation.value(id).as_str()) { 162 | | Some(value) => AnnotationResult { 163 | | value: value.to_string(), 164 | | default: false, ... | 169 | | }, 170 | | }; | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 161 ~ match obj.annotations().get(annotation.value(id).as_str()) { 162 + Some(value) => AnnotationResult { 163 + value: value.to_string(), 164 + default: false, 165 + }, 166 + None => AnnotationResult { 167 + value: annotation.default().unwrap_or("".to_string()), 168 + default: true, 169 + }, 170 ~ } |
unneeded `return` statement: src/annotations.rs#L126
warning: unneeded `return` statement --> src/annotations.rs:126:5 | 126 | / return match obj.annotations().get(&length_v1) { 127 | | Some(value) => { 128 | | let length = value.parse::<i32>().unwrap() as usize; 129 | | match length > 0 && length <= 100 { ... | 152 | | }, 153 | | }; | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 126 ~ match obj.annotations().get(&length_v1) { 127 + Some(value) => { 128 + let length = value.parse::<i32>().unwrap() as usize; 129 + match length > 0 && length <= 100 { 130 + true => AnnotationResult { 131 + value: length, 132 + default: false, 133 + }, 134 + false => { 135 + error!("Invalid length! Please set a length > 0 and <= 100. Proceeding with default length."); 136 + match V1Annotation::Length.default() { 137 + Some(default) => AnnotationResult { 138 + value: default.parse::<i32>().unwrap() as usize, 139 + default: true, 140 + }, 141 + None => panic!("No default set for length! Panic!"), 142 + } 143 + } 144 + } 145 + } 146 + None => match V1Annotation::Length.default() { 147 + Some(default) => AnnotationResult { 148 + value: default.parse::<i32>().unwrap() as usize, 149 + default: true, 150 + }, 151 + None => panic!("No default set for length! Panic!"), 152 + }, 153 ~ } |
Check with clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check if all commits are conventional
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check if all commits are conventional
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/
Check if all commits are conventional
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/
Check if all commits are conventional
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/
Check if all commits are conventional
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/