Skip to content

Commit db9ec4e

Browse files
authored
ci: fix msrv check (#9682)
* ci: fix msrv check
1 parent 2a9a280 commit db9ec4e

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/covector-version-or-publish-v1.yml

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
cargo update -p tree_magic_mini --precise 3.0.3
106106
cargo update -p tokio-test --precise 0.4.3
107107
cargo update -p tokio-stream --precise 0.1.14
108+
cargo update -p tokio-util --precise 0.7.10
108109
109110
- name: test build
110111
run: cargo check --target ${{ matrix.platform.target }} --features tracing,compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,cli,updater,system-tray,windows7-compat,http-multipart,test

tooling/bundler/src/bundle/windows/msi/wix.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ pub fn build_wix_app_installer(
570570
let merge_modules = get_merge_modules(settings)?;
571571
data.insert("merge_modules", to_json(merge_modules));
572572

573-
data.insert("app_exe_source", to_json(&app_exe_source));
573+
data.insert("app_exe_source", to_json(app_exe_source));
574574

575575
// copy icon from `settings.windows().icon_path` folder to resource folder near msi
576576
let icon_path = copy_icon(settings, "icon.ico", &settings.windows().icon_path)?;
@@ -589,9 +589,9 @@ pub fn build_wix_app_installer(
589589
data.insert("feature_group_refs", to_json(&wix.feature_group_refs));
590590
data.insert("feature_refs", to_json(&wix.feature_refs));
591591
data.insert("merge_refs", to_json(&wix.merge_refs));
592-
fragment_paths = wix.fragment_paths.clone();
592+
fragment_paths.clone_from(&wix.fragment_paths);
593593
enable_elevated_update_task = wix.enable_elevated_update_task;
594-
custom_template_path = wix.template.clone();
594+
custom_template_path.clone_from(&wix.template);
595595

596596
if let Some(banner_path) = &wix.banner_path {
597597
let filename = banner_path

tooling/bundler/src/bundle/windows/nsis.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ fn build_nsis_app_installer(
223223
let mut custom_template_path = None;
224224
let mut custom_language_files = None;
225225
if let Some(nsis) = &settings.windows().nsis {
226-
custom_template_path = nsis.template.clone();
227-
custom_language_files = nsis.custom_language_files.clone();
226+
custom_template_path.clone_from(&nsis.template);
227+
custom_language_files.clone_from(&nsis.custom_language_files);
228228
install_mode = nsis.install_mode;
229229
if let Some(langs) = &nsis.languages {
230230
languages.clear();

tooling/bundler/src/bundle/windows/sign.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub fn verify(path: &Path) -> crate::Result<bool> {
9494
// Construct SignTool command
9595
let signtool = locate_signtool()?;
9696

97-
let mut cmd = Command::new(&signtool);
97+
let mut cmd = Command::new(signtool);
9898
cmd.arg("verify");
9999
cmd.arg("/pa");
100100
cmd.arg(path);

0 commit comments

Comments
 (0)