From f68835a884c3cdfac5fb4e1c3cc2ff3d7d8703c4 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 25 Nov 2022 15:39:59 +0000 Subject: [PATCH] fix miri tests `cargo miri` started to pick the CARGO env var, nuke that --- .github/workflows/ci.yaml | 2 +- xtask/src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4aa9564..6a998a8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 # fetch tags for publish - + - uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 - run: cargo run -p xtask -- ci env: CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 2a5b66d..9a26f0d 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -11,6 +11,7 @@ fn main() -> xshell::Result<()> { let sh = Shell::new()?; let _e = push_toolchain(&sh, "stable")?; + let _e = sh.push_env("CARGO", ""); { let _s = section("BUILD");