CI attempt №2

This commit is contained in:
Maybe Waffle 2022-11-07 20:00:06 +04:00
parent 31e73a848b
commit 178a9bcc2f
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ jobs:
toolchain: beta
features: "--features full"
- rust: nightly
toolchain: nightly-2022-09-01
toolchain: nightly-2022-09-23
features: "--all-features"
- rust: msrv
toolchain: 1.64.0

View file

@ -41,7 +41,7 @@ pub fn reformat(text: String) -> String {
let sh = Shell::new().unwrap();
ensure_rustfmt(&sh);
let rustfmt_toml = project_root().join("rustfmt.toml");
let rustfmt_toml = project_root().join("../../rustfmt.toml");
let mut stdout = cmd!(
sh,
"rustup run {toolchain} rustfmt --config-path {rustfmt_toml} --config fn_single_line=true"