mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 11:45:02 +01:00
github actions doesn't have nightly and I can't be bothered
This commit is contained in:
parent
52f733fdfe
commit
4f5f9d6513
2 changed files with 3 additions and 5 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue