From 4f5f9d6513388704535110f3e996a780b246e5ea Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sun, 6 Mar 2022 17:17:28 +0100 Subject: [PATCH] github actions doesn't have nightly and I can't be bothered --- xtask/src/check_fmt.rs | 5 ++--- xtask/src/fmt.rs | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/xtask/src/check_fmt.rs b/xtask/src/check_fmt.rs index 4cd625f..b07e818 100644 --- a/xtask/src/check_fmt.rs +++ b/xtask/src/check_fmt.rs @@ -3,16 +3,15 @@ use anyhow::ensure; use std::process::Command; pub fn main() -> anyhow::Result<()> { - println!("$ cargo +nightly fmt --check"); + println!("$ cargo fmt --check"); let status = Command::new("cargo") - .arg("+nightly") .arg("fmt") .arg("--check") .current_dir(project_root()) .status()?; ensure!( status.success(), - "`cargo +nightly fmt --check` did not exit successfully" + "`cargo fmt --check` did not exit successfully" ); println!("$ yarn"); diff --git a/xtask/src/fmt.rs b/xtask/src/fmt.rs index b6bc1e9..013424b 100644 --- a/xtask/src/fmt.rs +++ b/xtask/src/fmt.rs @@ -3,9 +3,8 @@ use anyhow::ensure; use std::process::Command; pub fn main() -> anyhow::Result<()> { - println!("$ cargo +nightly fmt"); + println!("$ cargo fmt"); let status = Command::new("cargo") - .arg("+nightly") .arg("fmt") .current_dir(project_root()) .status()?;