mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 17:52:12 +01:00
CI attempt №2
This commit is contained in:
parent
31e73a848b
commit
178a9bcc2f
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue