diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 624fe6c5..5f3ebb7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,8 @@ name: CI on: - # push: - # branches: main + push: + branches: main pull_request: branches: main diff --git a/crates/moon/src/cli.rs b/crates/moon/src/cli.rs index 5b9f6c8f..bc8781f4 100644 --- a/crates/moon/src/cli.rs +++ b/crates/moon/src/cli.rs @@ -196,7 +196,8 @@ pub fn get_compiler_flags(src_dir: &Path, build_flags: &BuildFlags) -> anyhow::R }; let nostd = !build_flags.std() || moon_mod.name == MOONBITLANG_CORE; - let no_render = build_flags.no_render || std::env::var("MOON_NO_RENDER").unwrap_or_default() == "1"; + let no_render = + build_flags.no_render || std::env::var("MOON_NO_RENDER").unwrap_or_default() == "1"; Ok(MooncOpt { build_opt,