From 7732bd30419679cb033bfac7b5cb6e810b508b31 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 27 Jan 2023 04:47:41 -0800 Subject: [PATCH] fix env var for cargo sparse registry (#8140) * fix env var for cargo sparse registry see https://github.com/rust-lang/cargo/pull/11632 * Update ci.yml --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a1436a49d16..23c472bbc2c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,9 +16,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} cancel-in-progress: true -env: - REGISTRIES_CRATES_IO_PROTOCOL: sparse - jobs: linux: runs-on: ubuntu-latest @@ -270,6 +267,8 @@ jobs: - nightly name: "Rust Coverage" timeout-minutes: 15 + env: + CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse steps: - uses: actions/checkout@v3.3.0 timeout-minutes: 3