[ci] Update ci image with rust 1.77 and 2024-04-10 (#4077)

cc https://github.com/paritytech/ci_cd/issues/974

---------

Co-authored-by: command-bot <>
Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
Alexander Samusev
2024-04-18 11:24:16 +02:00
committed by GitHub
parent b6fab8046e
commit 76719da221
32 changed files with 443 additions and 456 deletions
+3 -3
View File
@@ -163,7 +163,7 @@ fn invoke_cargo_fmt<'a>(
) -> Result<()> {
// If rustfmt is not installed, skip the check.
if !Command::new("rustup")
.args(["nightly-2024-01-22", "run", "rustfmt", "--version"])
.args(["nightly-2024-04-10", "run", "rustfmt", "--version"])
.output()
.map_or(false, |o| o.status.success())
{
@@ -171,7 +171,7 @@ fn invoke_cargo_fmt<'a>(
}
let fmt_res = Command::new("rustup")
.args(["nightly-2024-01-22", "run", "rustfmt", "--check", "--config-path"])
.args(["nightly-2024-04-10", "run", "rustfmt", "--check", "--config-path"])
.arg(config_path)
.args(files)
.output()
@@ -186,7 +186,7 @@ fn invoke_cargo_fmt<'a>(
eprintln!("{}\n{}", stdout, stderr);
eprintln!(
"Fixtures files are not formatted.\n
Please run `rustup nightly-2024-01-22 run rustfmt --config-path {} {}/*.rs`",
Please run `rustup nightly-2024-04-10 run rustfmt --config-path {} {}/*.rs`",
config_path.display(),
contract_dir.display()
);