From 2590153218d0c8691f7a4d085bd5c00f78f88a79 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 06:43:10 +0000 Subject: [PATCH 1/2] fix(deps): update rust crate async-trait to v0.1.87 --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ac9abbd..c567092 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 4 [[package]] name = "async-trait" -version = "0.1.86" +version = "0.1.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "644dd749086bf3771a2fbc5f256fdb982d53f011c7d5d560304eafeecebce79d" +checksum = "d556ec1359574147ec0c4fc5eb525f3f23263a592b1a9c07e0a75b427de55c97" dependencies = [ "proc-macro2", "quote", From b994295b516338ceb8ddbde709cfc2904dfdae27 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 06:44:05 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- crates/gh-workflow/src/generate.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/gh-workflow/src/generate.rs b/crates/gh-workflow/src/generate.rs index e1204f6..3906e94 100644 --- a/crates/gh-workflow/src/generate.rs +++ b/crates/gh-workflow/src/generate.rs @@ -1,7 +1,6 @@ //! This module provides functionality to customize generation of the GitHub //! Actions workflow files. -use std::io::ErrorKind; use std::path::PathBuf; use std::process::Command; @@ -70,7 +69,7 @@ impl Generate { } Err(Error::MissingWorkflowFile(path)) => { std::fs::create_dir_all(path.parent().ok_or(Error::IO( - std::io::Error::new(ErrorKind::Other, "Invalid parent dir(s) path"), + std::io::Error::other("Invalid parent dir(s) path"), ))?)?; std::fs::write(path.clone(), content)?; println!("Generated workflow file: {}", path.display());